diff options
author | Brad King <brad.king@kitware.com> | 2016-06-21 13:31:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-21 13:33:35 (GMT) |
commit | d3e538eabbb329dcff86ea740a056964b0e2800d (patch) | |
tree | e8f752b4b96c67cb2cae7cf804d6142347ac7663 /Help/prop_dir | |
parent | 9f3546bbb44e23b97ea226fce155330eb352f75b (diff) | |
download | CMake-d3e538eabbb329dcff86ea740a056964b0e2800d.zip CMake-d3e538eabbb329dcff86ea740a056964b0e2800d.tar.gz CMake-d3e538eabbb329dcff86ea740a056964b0e2800d.tar.bz2 |
Help: Clarify VS_STARTUP_PROJECT documentation
Explain in what directory the property should be set to affect the
corresponding ``.sln`` file.
Suggested-by: Stephen Kelly <steveire@gmail.com>
Diffstat (limited to 'Help/prop_dir')
-rw-r--r-- | Help/prop_dir/VS_STARTUP_PROJECT.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Help/prop_dir/VS_STARTUP_PROJECT.rst b/Help/prop_dir/VS_STARTUP_PROJECT.rst index edd4832..04441b6 100644 --- a/Help/prop_dir/VS_STARTUP_PROJECT.rst +++ b/Help/prop_dir/VS_STARTUP_PROJECT.rst @@ -3,10 +3,16 @@ VS_STARTUP_PROJECT Specify the default startup project in a Visual Studio solution. +The :ref:`Visual Studio Generators` create a ``.sln`` file for each directory +whose ``CMakeLists.txt`` file calls the :command:`project` command. Set this +property in the same directory as a :command:`project` command call (e.g. in +the top-level ``CMakeLists.txt`` file) to specify the default startup project +for the correpsonding solution file. + The property must be set to the name of an existing target. This will cause that project to be listed first in the generated solution file causing Visual Studio to make it the startup project if the solution has never been opened before. -If this property is not specified, then the "ALL_BUILD" project +If this property is not specified, then the ``ALL_BUILD`` project will be the default. |