Re: [cmake-developers] How to set startup project in Visual Studio

2016-06-21 Thread Brad King
On 06/20/2016 05:11 PM, Stephen Kelly wrote: > documentation which directory to set the DIRECTORY property on. I've updated the documentation: Help: Clarify VS_STARTUP_PROJECT documentation https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d3e538ea -Brad -- Powered by www.kitware.com

Re: [cmake-developers] How to set startup project in Visual Studio

2016-06-20 Thread J Decker
One might be able to use FILE() to generate a .vcxproj.user if( NOT EXISTS ) This is a version from 2012 project. ALL_BUILD.vcxproj.user (it's the default project. so it's the one i usually set, unless something clever along these lines happened ) 

Re: [cmake-developers] How to set startup project in Visual Studio

2016-06-20 Thread Stephen Kelly
J Decker wrote: > The setting is in a different file that's .vcproj.user (or .user.vcproj) And there is not one of these for each project() command? It seems to me that this should either be a GLOBAL property, or the documentation which directory to set the DIRECTORY property on. I have no

Re: [cmake-developers] How to set startup project in Visual Studio

2016-06-19 Thread J Decker
The setting is in a different file that's .vcproj.user (or .user.vcproj) and cmake doesn't write that... would be nice if it could at least write those entiries required... nice thing about xml should be that what's there can be read and used and filled in with the rest of the settings? Well I

Re: [cmake-developers] How to set startup project in Visual Studio

2016-06-19 Thread Mike Gelfand
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

[cmake-developers] How to set startup project in Visual Studio

2016-06-18 Thread Stephen Kelly
Hi, the outcome of https://cmake.org/Bug/view.php?id=15578 seems to be https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=78ec0461 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