summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-05 15:41:16 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-07-05 15:41:23 (GMT)
commitd101446a56e9a743813f9b6dd84e479cd7e58d79 (patch)
tree844afa2807c1db3f4163a923ca219e4d1c60b652 /Help
parent7f9652773a386ea6bf7eec66f2c58174ebe1b5d4 (diff)
parent89e3e62e138ca1e666d5b4c7a9fa8198c4241d11 (diff)
downloadCMake-d101446a56e9a743813f9b6dd84e479cd7e58d79.zip
CMake-d101446a56e9a743813f9b6dd84e479cd7e58d79.tar.gz
CMake-d101446a56e9a743813f9b6dd84e479cd7e58d79.tar.bz2
Merge topic 'doc-add_compile_definitions'
89e3e62e13 Help: fix add_compile_definitions() documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2192
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_compile_definitions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/add_compile_definitions.rst b/Help/command/add_compile_definitions.rst
index 37f6650..48815d4 100644
--- a/Help/command/add_compile_definitions.rst
+++ b/Help/command/add_compile_definitions.rst
@@ -8,9 +8,9 @@ Adds preprocessor definitions to the compilation of source files.
add_compile_definitions(<definition> ...)
Adds preprocessor definitions to the compiler command line for targets in the
-current directory and below that are added after this command is invoked.
-See documentation of the :prop_dir:`directory <COMPILE_DEFINITIONS>` and
-:prop_tgt:`target <COMPILE_DEFINITIONS>` ``COMPILE_DEFINITIONS`` properties.
+current directory and below (whether added before or after this command is
+invoked). See documentation of the :prop_dir:`directory <COMPILE_DEFINITIONS>`
+and :prop_tgt:`target <COMPILE_DEFINITIONS>` ``COMPILE_DEFINITIONS`` properties.
Definitions are specified using the syntax ``VAR`` or ``VAR=value``.
Function-style definitions are not supported. CMake will automatically