[CMake] Making ALL_BUILD be Visual Studio's "startup project"
Bill Hoffman
bill.hoffman at kitware.com
Tue Nov 25 08:40:21 EST 2008
Philip Lowman wrote:
> On Mon, Nov 24, 2008 at 2:45 PM, Tyler Roscoe <tyler at cryptio.net
> <mailto:tyler at cryptio.net>> wrote:
>
> On Mon, Nov 24, 2008 at 02:22:22PM -0500, David.Karr at L-3COM.COM
> <mailto:David.Karr at L-3COM.COM> wrote:
> > In a certain project where we started using CMake about five
> years ago,
> > it used to be that when we opened the Visual Studio 6.0 workspace
> > created by CMake, the ALL_BUILD project was conveniently defined
> as the
> > "startup project" already, meaning that all one had to do was to
> click
> > the "Build" button (or press F7) to build the entire workspace. (OK,
> [snip]
> > So, the question: Does anyone want this?
>
> I think this is a good idea. Our developers are also accustomed to this
> behavior, so if CMake can do the same thing with the sln/vcproj files it
> generates, that will be one less workflow change for them to deal with.
>
>
> Yes, please post the patch and/or open a bug entry and attach it. This
> has been an annoying thorn in the sides of our windows developers for
> what seems like forever.
>
Please realize that VS stores the startup project in a binary file that
CMake does not control. However, I did not realize that the order in
the .sln file was where the default came from. This is a good find!
-Bill
More information about the CMake
mailing list