diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-07-31 16:54:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-28 15:47:51 (GMT) |
commit | 8da78d4efe0e4d0ef8708ecd94cf886c3f7d9ae4 (patch) | |
tree | 999fd79cb6487f27583cf354667dff517998a0f6 /Help/prop_sf | |
parent | 577293016430115a2d7dec5e3588f12bcabc96ec (diff) | |
download | CMake-8da78d4efe0e4d0ef8708ecd94cf886c3f7d9ae4.zip CMake-8da78d4efe0e4d0ef8708ecd94cf886c3f7d9ae4.tar.gz CMake-8da78d4efe0e4d0ef8708ecd94cf886c3f7d9ae4.tar.bz2 |
Precompile headers: Update documentation
Diffstat (limited to 'Help/prop_sf')
-rw-r--r-- | Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst | 13 |
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 0000000..5f39f30 --- /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. |