On Saturday 18 September 2010, [email protected] wrote:
> Dear Alex,
> Thanks for reply.
> The Build folder is sibling of the src. With the command  ccmake ../ -G"
> Eclipse CDT4 - Unix Makefiles" I read a CMakeLists that subdirs to the
> source folder, where the main CMakeLists is located.
> However you are right, part of the problem was there; if I aovoid the in-
> between step and I use only the MakeFileLists in the src folder, running
>  ccmake ../src -G"Eclipse CDT4 - Unix Makefiles"
> The source folder is imported.
> However, still I do not have the possibility of select build configuration
> like Debug or Release, even if in the cmake GUI I selected CMAKE_BUILD_TYPE
> as Debug.

If you select DEBUG in ccmake or cmake-gui, cmake will create Makefiles for 
the debug configuration.
If you select RELEASE, you get release makefiles.
If you want to chose between multiple configurations in Eclipse, you need to 
create one buildtree for each configuration and have cmake generate Makefiles 
for the respective configuration in the directories.
You can import once the source directory and additionally multiple build 
directories as projects into Eclipse.

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to