Hello, On 06/18/2016 03:15 PM, Stephen Kelly wrote: > a DIRECTORY property VS_STARTUP_PROJECT which sets the start up project in > Visual Studio. I tried it in the 3.6 RC and it works fine if I set the > property in the top-level directory, so thanks for that. > > However, the documentation does not say which directory to set it in, or why > it is a DIRECTORY property. > > Why is this not a GLOBAL property? My guess would be because CMake generates .sln file for each project() call (e.g. if you have additional project() calls in subdirectories apart from the top-level one), and then for each .sln file it would be possible to specify different startup [VS] project. So it's not exactly a directory, but a project property I would say, but there're no "project properties" in CMake.
Regards, Mike -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers