Re: [CMake] ExternalProject and clean targets

2011-10-24 Thread Yuri Timenkov
IIRC for Visual Studio I had opposite problem: clean on external project didn't triggered rebuild. On Sat, Oct 15, 2011 at 2: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 exte

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] 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

[CMake] ExternalProject and clean targets

2011-10-12 Thread Lori Pritchett-Sheats
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 packages. Is there a way to remove the external package targets