diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-07-05 08:52:18 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-05 10:21:09 -0400 |
commit | 89e3e62e138ca1e666d5b4c7a9fa8198c4241d11 (patch) | |
tree | 86a0711de818272aa52da9ef94c3e223f0de0a4a | |
parent | 51e7d4150756a01d51da38acfd0a469b138e1fde (diff) | |
download | cmake-89e3e62e138ca1e666d5b4c7a9fa8198c4241d11.tar.gz |
Help: fix add_compile_definitions() documentation
Fixes: #18147
-rw-r--r-- | Help/command/add_compile_definitions.rst | 6 |
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 |