[CMake] turning off compile testing

Bill Hoffman bill.hoffman at kitware.com
Thu Dec 13 08:24:34 EST 2007


Josef Karthauser wrote:
>> From: cmake-bounces+joe.karthauser=geomerics.com at cmake.org
> [mailto:cmake-bounces+joe.karthauser=geomerics.com at cmake.org] On Behalf
> Of Jesse Corrington
>> Sent: 12 December 2007 00:46
>> To: cmake at cmake.org
>> Subject: [CMake] turning off compile testing
>>
>> Is there any way to turn off try compile during configuration?
> 
> We do it this way:
> 
>      cmake -DCMAKE_CXX_COMPILER_WORKS=1 -DCMAKE_C_COMPILER_WORKS=1
> -DHAVE_CMAKE_SIZEOF_VOID_P=1 .
> 

That looks like a bad idea to me....  The void one in particular.  You 
should really be careful about setting stuff like this by hand....

-Bill


More information about the CMake mailing list