The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15578 
====================================================================== 
Reported By:                Davy Durham
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15578
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-05-20 13:10 EDT
Last Modified:              2015-05-20 13:10 EDT
====================================================================== 
Summary:                    Target property that sets Startup Project in MSVC
Description: 
A means of setting the (default) "startup project" for MS Visual Studio projects
would be great.

This is a rehash of mantis2919.  In needing the same functionality, the
consensus "out there" is to use
https://github.com/michaKFromParis/slnStartupProject after generating the msvc
solution with cmake.

It is true that the startup project preference is stored in the .suo file and
that cmake doesn't generate that, but that's *after* the solution has been
opened for the first time.  .suo files are not normally stored in source control
because they change so much.

MSVC apparently sets the first project defined in the .sln as the startup
project when it is first opened (before any .suo file exists).  And this is what
this slnStartupProject application actually alters about the .sln file its
given.

Would it be possible to add a command, or target property for making sure some
specific target is defined first in the .sln file?  This would really be
helpful.

I can do more research if required.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-05-20 13:10 Davy Durham    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

Reply via email to