[CMake] Compiling without linking

Baptiste Derongs baptiste.derongs at etu.utc.fr
Wed Oct 3 09:27:14 EDT 2007


Hello all,

I just begin in using Cmake (but I'm going faster than I never went
with any configure.in), and I am wondering how to get a '.o' file (how
to call gcc -c in fact).

I tried to set CMAKE_C_FLAGS to "-c", it kind of worked, but it doest
seem very generic

Is there any better solution ?

Regards

Baptiste


More information about the CMake mailing list