summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-05 10:23:20 -0400
committerBrad King <brad.king@kitware.com>2018-07-05 10:23:20 -0400
commit0f3d7a1398f943b2417b317fa28c4a7cd5f7c6de (patch)
tree17e0d5fb834dd73dbeed02bbff6376cacac1a160
parent84ecbf44b6d3953bb7f33dd48c4382bc3c15f519 (diff)
parent89e3e62e138ca1e666d5b4c7a9fa8198c4241d11 (diff)
downloadcmake-0f3d7a1398f943b2417b317fa28c4a7cd5f7c6de.tar.gz
Merge branch 'doc-add_compile_definitions' into release-3.12
Merge-request: !2192
-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 37f6650aa0..48815d44fa 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