summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-08-03 18:43:26 -0700
committerHaibo Huang <hhb@google.com>2020-08-03 18:45:53 -0700
commit39101902db4b5a188fe464a65a537498cf16c783 (patch)
treefea6ab21867fdf149ba62f1de868c35eada6b504 /share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst
parent0a604d875f3b623c786e4a7dc3eb0abc8940b4d7 (diff)
downloaddarwin-x86-39101902db4b5a188fe464a65a537498cf16c783.tar.gz
Upgrade cmake prebuilt to 3.18.1 [Darwin]ndk-r22-beta1ndk-r22ndk-release-r22llvm-r399163b
Built at: http://fusion/82f83f3a-9b62-4573-8934-c02475fc6689 Change-Id: I7b9e7a895cb9e13a0cf4ef8d45f6f81199f11ce6
Diffstat (limited to 'share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst')
-rw-r--r--share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst b/share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst
new file mode 100644
index 0000000..c211b89
--- /dev/null
+++ b/share/cmake-3.18/Help/prop_sf/COMPILE_FLAGS.rst
@@ -0,0 +1,19 @@
+COMPILE_FLAGS
+-------------
+
+Additional flags to be added when compiling this source file.
+
+The ``COMPILE_FLAGS`` property, managed as a string, 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)`
+manual for available expressions. However, :generator:`Xcode`
+does not support per-config per-source settings, so expressions
+that depend on the build configuration are not allowed with that
+generator.
+
+.. note::
+
+ This property has been superseded by the :prop_sf:`COMPILE_OPTIONS` property.