[CMake] turning off compile testing

Josef Karthauser joe.karthauser at geomerics.com
Thu Dec 13 04:37:12 EST 2007


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

Joe



More information about the CMake mailing list