[CMake] Select a project for building only for a specific configuration
I have seen this question asked before, but did not find any good answer for it, so I was hoping that meanwhile someone might have found a good solution. I need to select one of the projects for building in our Visual Studio solution (that contains ~ 20 total projects) only in a certain configuration (e.g. Release). Our nightly builds run on a Jenkins build server so I need CMake to output the generators with that specific project selected for building only in Release. Has anyone found a good way to do this? Thanks, Cristian-- 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
[CMake] Have Visual Studio project name be different than the executable name
I want my project name in Visual Studio to be different than the executable name. This is how I currently have it set up: project( ABC ) ... add_executable( def ) When I open the solution, the project name is def, but I want it to be ABC (with the corresponding ABC.vcproj project file output). Is there a way to do this? I am using cmake version 2.8.6 and Visual Studio 9. Thanks, Cristian -- 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