Re: [CMake] purify targets

2007-10-11 Thread Juan Sanchez
To clarify my question, should I expect changing CMAKE_CXX_LINK_EXECUTABLE to apply to both targets in the example below? This is cmake 2.4.7. Regards, Juan Juan Sanchez wrote: Hello, Is it possible to build both purify and non purify targets by changing CMAKE_CXX_LINK_EXECUTABLE?

[CMake] purify targets

2007-10-10 Thread Juan Sanchez
Hello, Is it possible to build both purify and non purify targets by changing CMAKE_CXX_LINK_EXECUTABLE? Unfortunately the following example purify's both binaries. ADD_EXECUTABLE(hello helloworld.cc) SET (CMAKE_CXX_LINK_EXECUTABLE purify -cache-dir=/tmp ${CMAKE_CXX_LINK_EXECUTABLE})