[CMake] Code::Blocks generator setting in CMakeLists
Roy van Pelt
R.F.P.v.Pelt at tue.nl
Fri Jun 6 07:27:39 EDT 2008
Dear all,
Is it possible to include the generator choice into the CMakeLists.txt?
I know for windows the CMake tool allows to configure the development
environment. But for Linux you have to configure it using a parameter
for CMake. I would like to incorporate this in my CMakeList if possible.
For instance:
cmake -G CodeBlocks - Unix Makefiles
Replace by
CMAKE_GENERATOR CodeBlocks - Unix Makefiles
Or something similar?
Thanks
More information about the CMake
mailing list