From 89e3e62e138ca1e666d5b4c7a9fa8198c4241d11 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Thu, 5 Jul 2018 08:52:18 +0200 Subject: Help: fix add_compile_definitions() documentation Fixes: #18147 --- Help/command/add_compile_definitions.rst | 6 +++--- 1 file 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( ...) 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 ` and -:prop_tgt:`target ` ``COMPILE_DEFINITIONS`` properties. +current directory and below (whether added before or after this command is +invoked). See documentation of the :prop_dir:`directory ` +and :prop_tgt:`target ` ``COMPILE_DEFINITIONS`` properties. Definitions are specified using the syntax ``VAR`` or ``VAR=value``. Function-style definitions are not supported. CMake will automatically -- cgit v0.12