The following issue has been SUBMITTED. ====================================================================== https://public.kitware.com/Bug/view.php?id=15931 ====================================================================== Reported By: Luis Roalter Assigned To: ====================================================================== Project: CMake Issue ID: 15931 Category: CMake Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2016-01-21 13:26 EST Last Modified: 2016-01-21 13:26 EST ====================================================================== Summary: Change the StartUp-Solution by Value Description: CMake always tries to set ALL_BUILD in Visual Studio Projects as the first project in the Solution file. This is okay if I want to build all the content. But sometimes it would be great to change this behavior to a custom project as well.
The point is: Pressing F5 in Studio (just run the Application) won't work. Sure, you can setup the startup project manually. But it would be gread to set it per-project (means per solution). I've patched it to use CMAKE_STARTUP_SOLUTION. This exchanges the string "ALL_BUILD" in the comparison of the project if possible. It would be even better to make something like set_property(GLOBAL PROPERTY STARTUP_APPLICATION MainWindow). This should only scope till the next project(). Steps to Reproduce: Just press F5 on a Studio-runnable application. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-01-21 13:26 Luis Roalter New Issue ====================================================================== -- 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