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

Cristian Cocheci cocheci at yahoo.com
Mon May 14 09:32:10 EDT 2012



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120514/f1d7e74f/attachment.htm>


More information about the CMake mailing list