summaryrefslogtreecommitdiff
path: root/Help/prop_sf
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-07-31 18:54:44 +0200
committerBrad King <brad.king@kitware.com>2019-08-28 11:47:51 -0400
commit8da78d4efe0e4d0ef8708ecd94cf886c3f7d9ae4 (patch)
tree999fd79cb6487f27583cf354667dff517998a0f6 /Help/prop_sf
parent577293016430115a2d7dec5e3588f12bcabc96ec (diff)
downloadcmake-8da78d4efe0e4d0ef8708ecd94cf886c3f7d9ae4.tar.gz
Precompile headers: Update documentation
Diffstat (limited to 'Help/prop_sf')
-rw-r--r--Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst b/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst
new file mode 100644
index 0000000000..5f39f30aa0
--- /dev/null
+++ b/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst
@@ -0,0 +1,13 @@
+SKIP_PRECOMPILE_HEADERS
+-----------------------
+
+Is this source file skipped by :prop_tgt:`PRECOMPILE_HEADERS` feature.
+
+This property helps with build problems that one would run into
+when using the :prop_tgt:`PRECOMPILE_HEADERS` feature.
+
+One example would be the usage of Objective-C (*.m) files, and
+Objective-C++ (*.mm) files, which lead to compilation failure
+because they are treated (in case of Ninja / Makefile generator)
+as C, and CXX respectively. The precompile headers are not
+compatible between languages.