On Monday 22 June 2009, James C. Sutherland wrote:
> I am trying to add most files from a directory to a variable. I first
> glob the source files, and then want to remove the unwanted files from
> the resulting string.
Really, don't do that.
Just add all files you want to compile explicitely t
On Mon, Jun 22, 2009 at 4:43 PM, James C. Sutherland <
james.sutherl...@utah.edu> wrote:
> I am trying to add most files from a directory to a variable. I first
> glob the source files, and then want to remove the unwanted files from
> the resulting string. Here is what I have:
>
> set( empty "
I am trying to add most files from a directory to a variable. I first
glob the source files, and then want to remove the unwanted files from
the resulting string. Here is what I have:
set( empty "" )
file( GLOB f90_src src/*.f90 )
string( REPLACE
${PROJECT_SOURCE_DIR}/src/ark_m.f90