diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-08 16:36:40 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-08 16:44:18 (GMT) |
commit | 118815f095e9737dc05806a4d6734a3b9de37e39 (patch) | |
tree | 0a1af6db7b070bc710da2b2f72f7b98b686a95ff /Help/prop_sf | |
parent | a3bba2a5ad30287a22f2a700de6a60f0869b8dac (diff) | |
download | CMake-118815f095e9737dc05806a4d6734a3b9de37e39.zip CMake-118815f095e9737dc05806a4d6734a3b9de37e39.tar.gz CMake-118815f095e9737dc05806a4d6734a3b9de37e39.tar.bz2 |
COMPILE_FLAGS: do not imply that the property is a list
The "added to the list" language hinted that the property was
interpreted as a CMake list, but this is not correct. It is just a
string.
Diffstat (limited to 'Help/prop_sf')
-rw-r--r-- | Help/prop_sf/COMPILE_FLAGS.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/prop_sf/COMPILE_FLAGS.rst b/Help/prop_sf/COMPILE_FLAGS.rst index 1012164..be81cf6 100644 --- a/Help/prop_sf/COMPILE_FLAGS.rst +++ b/Help/prop_sf/COMPILE_FLAGS.rst @@ -3,9 +3,9 @@ COMPILE_FLAGS Additional flags to be added when compiling this source file. -These flags will be added to the list of compile flags when this -source file builds. Use :prop_sf:`COMPILE_DEFINITIONS` to pass -additional preprocessor definitions. +The ``COMPILE_FLAGS`` property sets additional compiler flags used to build +source files. Use :prop_sf:`COMPILE_DEFINITIONS` to pass additional +preprocessor definitions. Contents of ``COMPILE_FLAGS`` may use "generator expressions" with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` |