<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>Hello,</div><div><br></div><div>I am testing the possibility of generating Eclipse projects with CMake.</div><div>I use the following command line:</div><div>    cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../src</div><div>It works fine.</div><div><br></div><div>However, I would like to go further in this direction.</div><div>- What could I put in CMakeLists.txt to not to have to pass the "-G" option to cmake?</div><div>- How could I be able to switch between debug and release modes in Eclipse?</div><div><br></div><div>Thank you very much for your help!</div><div><br></div><div>Cédric</div><div><br></div><div><br></div></div></body></html>