diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-07-05 06:52:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-05 14:21:09 (GMT) |
commit | 89e3e62e138ca1e666d5b4c7a9fa8198c4241d11 (patch) | |
tree | 86a0711de818272aa52da9ef94c3e223f0de0a4a /Help/command | |
parent | 51e7d4150756a01d51da38acfd0a469b138e1fde (diff) | |
download | CMake-89e3e62e138ca1e666d5b4c7a9fa8198c4241d11.zip CMake-89e3e62e138ca1e666d5b4c7a9fa8198c4241d11.tar.gz CMake-89e3e62e138ca1e666d5b4c7a9fa8198c4241d11.tar.bz2 |
Help: fix add_compile_definitions() documentation
Fixes: #18147
Diffstat (limited to 'Help/command')
-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 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 |