summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-06-18 10:30:30 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-06-18 10:43:46 (GMT)
commit90c73479bcc581b59111891650bd12a9149a35c5 (patch)
treeccb4057ba6fe68e25cd7e7e14c0e1be03cc8c6f8 /Help
parent0420de10b534fb8bdd83eb33b70af7acf2b09f56 (diff)
downloadCMake-90c73479bcc581b59111891650bd12a9149a35c5.zip
CMake-90c73479bcc581b59111891650bd12a9149a35c5.tar.gz
CMake-90c73479bcc581b59111891650bd12a9149a35c5.tar.bz2
Help: Correct and condense examples for VS_SOLUTION_DEPLOY
Diffstat (limited to 'Help')
-rw-r--r--Help/prop_tgt/VS_SOLUTION_DEPLOY.rst14
1 files changed, 6 insertions, 8 deletions
diff --git a/Help/prop_tgt/VS_SOLUTION_DEPLOY.rst b/Help/prop_tgt/VS_SOLUTION_DEPLOY.rst
index a664d0c..eef848f 100644
--- a/Help/prop_tgt/VS_SOLUTION_DEPLOY.rst
+++ b/Help/prop_tgt/VS_SOLUTION_DEPLOY.rst
@@ -4,24 +4,22 @@ VS_SOLUTION_DEPLOY
Specify that the target should be marked for deployment when not targeting
Windows CE, Windows Phone or a Windows Store application.
-If the target platform doesn't support deployment, this property won't have any effect.
+If the target platform doesn't support deployment, this property won't have
+any effect.
:manual:`Generator expressions <cmake-generator-expressions(7)>` are supported.
-Example 1
-^^^^^^^^^
+Examples
+^^^^^^^^
-This shows setting the variable for the target foo.
+Always deploy target ``foo``:
.. code-block:: cmake
add_executable(foo SHARED foo.cpp)
set_property(TARGET foo PROPERTY VS_SOLUTION_DEPLOY ON)
-Example 2
-^^^^^^^^^
-
-This shows setting the variable for the Release configuration only.
+Deploy target ``foo`` for all configurations except ``Release``:
.. code-block:: cmake