[CMake] How do I link an executable WITHOUT standard libraries?

Eric Lemings eric at lemings.com
Fri Jun 12 18:16:43 EDT 2009


I've tried clearing the CMAKE_STANDARD_LIBRARIES,
CMAKE_C_STANDARD_LIBRARIES, and CMAKE_CXX_STANDARD_LIBRARIES variables
and standard libraries still get linked into my executable.  How do I
disable this?

Thanks,
Eric.



More information about the CMake mailing list