Re: [CMake] ExternalProject and clean targets

2011-10-15 Thread Michael Hertling
On 10/15/2011 12:34 PM, David Cole wrote: > On Sat, Oct 15, 2011 at 3:48 AM, Michael Hertling wrote: >> On 10/12/2011 10:22 PM, Lori Pritchett-Sheats wrote: >>> >>> I'm building external packages in my CMake system using the >>> ExternalPackages_Add function. When a package is built this way and I

Re: [CMake] ExternalProject and clean targets

2011-10-15 Thread Michael Jackson
Couldn't an option be added to the add_external_project to NOT_CLEAN and the would solve parties issues? I personally would like to use external project but i do not really want to rebuild all my external libraries each time i need to clean my project and start over. Just a thought. - Mike J

Re: [CMake] ExternalProject and clean targets

2011-10-15 Thread David Cole
On Sat, Oct 15, 2011 at 3:48 AM, Michael Hertling wrote: > On 10/12/2011 10:22 PM, Lori Pritchett-Sheats wrote: >> >> I'm building external packages in my CMake system using the >> ExternalPackages_Add function. When a package is built this way and I >> execute a 'make clean' at the top of my buil

Re: [CMake] Transitively including dependency source directories

2011-10-15 Thread David Cole
On Fri, Oct 14, 2011 at 5:39 PM, Robert Dailey wrote: > If I have the following target dependency chain: > A >> B >> C >> D > Then target "D" must have the include directories (defined on a per project > basis with a cache variable currently) for C, B, and A. > Right now I'm trying to implement th

Re: [CMake] CTest of multiple projects

2011-10-15 Thread David Cole
On Fri, Oct 14, 2011 at 5:32 PM, David Thompson wrote: > Hi Tim, > >> Is it possible to make CTest aware of other CTest things going on? For >> example, let's say I have a continuous build set up for two different >> projects, and each has 1 test in it that uses all the processors in the >> machin

Re: [CMake] Mixing static and dynamic library

2011-10-15 Thread Michael Hertling
On 10/13/2011 03:27 PM, pellegrini wrote: > Hi all, > > I would like to port a hardcoded build line from an old make file to my > CMakeLists.txt file for a fortran 90 > project using ifort compiler. > The line is the following: > > ifort *.o -o myexec -static-intel -Bstatic -lXm -Bdynamic -l

Re: [CMake] ExternalProject and clean targets

2011-10-15 Thread Michael Hertling
On 10/12/2011 10:22 PM, Lori Pritchett-Sheats wrote: > > I'm building external packages in my CMake system using the > ExternalPackages_Add function. When a package is built this way and I > execute a 'make clean' at the top of my build tree, all targets are > cleaned including the external pa