[CMake] Troubles with Cmake

William A. Hoffman billlist at nycap.rr.com
Wed Apr 20 10:48:32 EDT 2005


---- test.c ------
#ifdef __cplusplus
# error \"The CMAKE_C_COMPILER is set to a C++ compiler\"
"#endif
int main(){return 0;}
---- end test.c-----

/usr/bin/gcc test.c



At 10:36 AM 4/20/2005, domenico wrote:
>HI Bill,
> 
>I have attached CMakeCCompiler and CMakeCXXCompiler
> 
>I didn't understand how to compile the test with CMAKE_C_COMPILER value
> 
>Could you expand it?
> 
>Domenico
> 
>
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list