[cmake-developers] [CMake 0015578]: Target property that sets Startup Project in MSVC
Mantis Bug Tracker
mantis at public.kitware.com
Wed May 20 13:10:37 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list