Hector Franco Penya wrote:
Hi
I´m a beginner in CMake
I´m trying to find the way to write the CMakeLists.txt files for
permit use a "make debug" later?
I find in the cmake book a lot of flags variables, but i don´t know
how to make cmake behave different when you type "make all" and when
you type "make debug"

You set the CMAKE_BUIDL_TYPE to Debug, and run make to get a debug build.
There is no make debug.
and if is possible:
Are something like "cmake clean"???
There is a make clean.

There is also a make help, this will list all available targets.


-Bill


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to