summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/try_compile.rst8
-rw-r--r--Help/command/try_run.rst8
2 files changed, 8 insertions, 8 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 3a6b26a..9e9f39f 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -59,10 +59,10 @@ Try Compiling Source Files
.. code-block:: cmake
try_compile(<resultVar>
- <SOURCES <srcfile...>] |
- SOURCE_FROM_CONTENT <name> <content>] |
- SOURCE_FROM_VAR <name> <var>] |
- SOURCE_FROM_FILE <name> <path> >...
+ <SOURCES <srcfile...> |
+ SOURCE_FROM_CONTENT <name> <content> |
+ SOURCE_FROM_VAR <name> <var> |
+ SOURCE_FROM_FILE <name> <path> >...
[NO_CACHE]
[CMAKE_FLAGS <flags>...]
[COMPILE_DEFINITIONS <defs>...]
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst
index be7c734..cd41a4b 100644
--- a/Help/command/try_run.rst
+++ b/Help/command/try_run.rst
@@ -13,10 +13,10 @@ Try Compiling and Running Source Files
.. code-block:: cmake
try_run(<runResultVar> <compileResultVar>
- <SOURCES <srcfile...>] |
- SOURCE_FROM_CONTENT <name> <content>] |
- SOURCE_FROM_VAR <name> <var>] |
- SOURCE_FROM_FILE <name> <path> >...
+ <SOURCES <srcfile...> |
+ SOURCE_FROM_CONTENT <name> <content> |
+ SOURCE_FROM_VAR <name> <var> |
+ SOURCE_FROM_FILE <name> <path> >...
[NO_CACHE]
[CMAKE_FLAGS <flags>...]
[COMPILE_DEFINITIONS <defs>...]