diff options
Diffstat (limited to 'share/cmake-3.18/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst')
-rw-r--r-- | share/cmake-3.18/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst b/share/cmake-3.18/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst new file mode 100644 index 0000000..0031da3 --- /dev/null +++ b/share/cmake-3.18/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. |