[CMake] Select a project for building only for a specific configuration

2012-05-22 Thread Cristian Cocheci
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

[CMake] Have Visual Studio project name be different than the executable name

2012-05-14 Thread Cristian Cocheci
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