[CMake] Setting a cmake option via make targets?

2011-11-02 Thread szalai endre
Hi guys, I am using Rational Purify for runtime error checks in C++. To use it, you have to call purify instead of the C++ linker at link phase. To do so, I have the following cmake file: // project(myproject ) option (USE_PURIFY Use Rational Purify for runtime error checks OFF) IF

Re: [CMake] Setting a cmake option via make targets?

2011-11-02 Thread Yngve Inntjore Levinsen
Onsdag 02 november 2011 skrev szalai endre: Hi guys, I am using Rational Purify for runtime error checks in C++. To use it, you have to call purify instead of the C++ linker at link phase. To do so, I have the following cmake file: // project(myproject ) option (USE_PURIFY

Re: [CMake] Setting a cmake option via make targets?

2011-11-02 Thread Michael Hertling
On 11/02/2011 07:32 PM, Yngve Inntjore Levinsen wrote: Onsdag 02 november 2011 skrev szalai endre: Hi guys, I am using Rational Purify for runtime error checks in C++. To use it, you have to call purify instead of the C++ linker at link phase. To do so, I have the following cmake file: