summaryrefslogtreecommitdiffstats
path: root/Help/command/add_executable.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-25 15:00:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-25 15:00:16 (GMT)
commit68b8fc4a8c4489ec2852ff1f28f1a7e861746ee9 (patch)
treecafc762ddcd625ba840242484da0d3ffe3a226f2 /Help/command/add_executable.rst
parent57cb90ae7141b344953c9f857663645d8784c6f4 (diff)
parentadbaadf0eef855aeb043babceae67e324b69fef0 (diff)
downloadCMake-68b8fc4a8c4489ec2852ff1f28f1a7e861746ee9.zip
CMake-68b8fc4a8c4489ec2852ff1f28f1a7e861746ee9.tar.gz
CMake-68b8fc4a8c4489ec2852ff1f28f1a7e861746ee9.tar.bz2
Merge topic 'project-commands'
adbaadf0ee Help: Apply syntax highlighting to project commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2525
Diffstat (limited to 'Help/command/add_executable.rst')
-rw-r--r--Help/command/add_executable.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/add_executable.rst b/Help/command/add_executable.rst
index c7a30d7..0a7d7e1 100644
--- a/Help/command/add_executable.rst
+++ b/Help/command/add_executable.rst
@@ -3,7 +3,7 @@ add_executable
Add an executable to the project using the specified source files.
-::
+.. code-block:: cmake
add_executable(<name> [WIN32] [MACOSX_BUNDLE]
[EXCLUDE_FROM_ALL]
@@ -47,7 +47,7 @@ within IDE.
--------------------------------------------------------------------------
-::
+.. code-block:: cmake
add_executable(<name> IMPORTED [GLOBAL])
@@ -67,7 +67,7 @@ properties for more information.
--------------------------------------------------------------------------
-::
+.. code-block:: cmake
add_executable(<name> ALIAS <target>)