[CMake] Automatic management of Eclipse projects
Cedric Doucet
cedric.doucet at inria.fr
Mon Jun 22 12:02:01 EDT 2015
Hello,
I am testing the possibility of generating Eclipse projects with CMake.
I use the following command line:
cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../src
It works fine.
However, I would like to go further in this direction.
- What could I put in CMakeLists.txt to not to have to pass the "-G" option to cmake?
- How could I be able to switch between debug and release modes in Eclipse?
Thank you very much for your help!
Cédric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150622/f615375f/attachment.html>
More information about the CMake
mailing list