<div dir="ltr">The setting is in a different file that's .vcproj.user (or .user.vcproj) <div><br></div><div>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 guess that's really implementation dependant.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 19, 2016 at 2:42 PM, Mike Gelfand <span dir="ltr"><<a href="mailto:mikedld@mikedld.com" target="_blank">mikedld@mikedld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<span class=""><br>
On 06/18/2016 03:15 PM, Stephen Kelly wrote:<br>
> a DIRECTORY property VS_STARTUP_PROJECT which sets the start up project in<br>
> Visual Studio. I tried it in the 3.6 RC and it works fine if I set the<br>
> property in the top-level directory, so thanks for that.<br>
><br>
> However, the documentation does not say which directory to set it in, or why<br>
> it is a DIRECTORY property.<br>
><br>
> Why is this not a GLOBAL property?<br>
</span>My guess would be because CMake generates .sln file for each project()<br>
call (e.g. if you have additional project() calls in subdirectories<br>
apart from the top-level one), and then for each .sln file it would be<br>
possible to specify different startup [VS] project. So it's not exactly<br>
a directory, but a project property I would say, but there're no<br>
"project properties" in CMake.<br>
<br>
Regards,<br>
Mike<br>
<div class="HOEnZb"><div class="h5">--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake-developers</a><br>
</div></div></blockquote></div><br></div>