summaryrefslogtreecommitdiffstats
path: root/Help/command/try_run.rst
diff options
context:
space:
mode:
authorJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-10-25 11:34:27 (GMT)
committerJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2018-10-25 11:47:31 (GMT)
commitadbaadf0eef855aeb043babceae67e324b69fef0 (patch)
treecafc762ddcd625ba840242484da0d3ffe3a226f2 /Help/command/try_run.rst
parent2459b5e8324ced6435a12fedf98067a0d9fac5f1 (diff)
downloadCMake-adbaadf0eef855aeb043babceae67e324b69fef0.zip
CMake-adbaadf0eef855aeb043babceae67e324b69fef0.tar.gz
CMake-adbaadf0eef855aeb043babceae67e324b69fef0.tar.bz2
Help: Apply syntax highlighting to project commands
* Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense.
Diffstat (limited to 'Help/command/try_run.rst')
-rw-r--r--Help/command/try_run.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst
index e3bd57d..dfa0bf9 100644
--- a/Help/command/try_run.rst
+++ b/Help/command/try_run.rst
@@ -10,7 +10,7 @@ Try compiling and then running some code.
Try Compiling and Running Source Files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-::
+.. code-block:: cmake
try_run(RUN_RESULT_VAR COMPILE_RESULT_VAR
bindir srcfile [CMAKE_FLAGS <flags>...]