getting the project up and
running.
Eli
-Original Message-
From: Eric Noulard [mailto:eric.noul...@gmail.com]
Sent: Wednesday, June 20, 2012 11:36 PM
To: Ateljevich, Eli
Cc: cmake@cmake.org
Subject: Re: [CMake] Include directory issue ... -I are not separated?
2012/6/21 Ateljevich, Eli
2012/6/21 Ateljevich, Eli :
> Eric
> I have improved my envvar usage a bit further, I hope, by saying
> include_directories( $ENV{NETCDF_INC} )
> rather than
> include_directories( ${NETCDF_INC} )
This is not the way CMake is supposed to work.
Normally you use
find_library, file_path, etc... in o
-Original Message-
From: Ateljevich, Eli
Sent: Wednesday, June 20, 2012 3:05 PM
To: Ateljevich, Eli; Eric Noulard
Cc: cmake@cmake.org
Subject: RE: [CMake] Include directory issue ... -I are not separated?
Eric
I have improved my envvar usage a bit further, I hope, by saying
include_directories
Cc: cmake@cmake.org
Subject: Re: [CMake] Include directory issue ... -I are not separated?
I appreciate your patience as I seem to be struggling reporting some of the
details properly. The real invocation is and has always been this:
cmake -DCMAKE_Fortran_COMPILER=mpif90 ../src
The
ro/-I/usr/local/dms/pkg/netcdf/4.1.3-intel12.0-parallel/include
-c /home/eli/work/selfe_cmake/src/Hydro/sflux_9c.F90
-Original Message-
From: Eric Noulard [mailto:eric.noul...@gmail.com]
Sent: Wednesday, June 20, 2012 9:58 AM
To: Ateljevich, Eli
Cc: cmake@cmake.org
Subject: Re:
2012/6/20 Ateljevich, Eli :
> Addendum: I should add that by now I have taken the failure line, put a space
> in between the two -I components and run it directly in the shell and
> verified it compiles fine (and without the space it fails as in cmake).
Yes right. Collating -I shall fail, no pro
Thanks!
-Original Message-
From: Eric Noulard [mailto:eric.noul...@gmail.com]
Sent: Tuesday, June 19, 2012 10:57 PM
To: Ateljevich, Eli
Cc: cmake@cmake.org
Subject: Re: [CMake] Include directory issue ... -I are not separated?
2012/6/20 Ateljevich, Eli :
> Hi everone. I am gett
2012/6/20 Ateljevich, Eli :
> Hi Eric,
> Very kind of you to reply. It is true that my example had some detritus from
> one of the examples that I did not prune. I apologize for the sloppiness and
> your advice certainly saves me some problems with the linker later. However,
> it does not change
ou would recommend? Where does the reference to Hydro even come from?
Thanks!
-Original Message-
From: Eric Noulard [mailto:eric.noul...@gmail.com]
Sent: Tuesday, June 19, 2012 10:57 PM
To: Ateljevich, Eli
Cc: cmake@cmake.org
Subject: Re: [CMake] Include directory issue ... -I are not s
2012/6/20 Ateljevich, Eli :
> Hi everone. I am getting a funny include flag and I wonder if anyone can
> help. The project is in Fortran (though I don't think this matters) and the
> structure can be distilled to:
>
> /myproj
> /build
> /src
> /Hydro
>
> I do the build in /build in linux
Hi everone. I am getting a funny include flag and I wonder if anyone can help.
The project is in Fortran (though I don't think this matters) and the structure
can be distilled to:
/myproj
/build
/src
/Hydro
I do the build in /build in linux using "cmake -DCMAKE_Fortran_COMPILER
.
11 matches
Mail list logo