summaryrefslogtreecommitdiff
path: root/Help/prop_sf/SKIP_PRECOMPILE_HEADERS.rst
blob: 5f39f30aa06335e9732f895652899e15c39b5632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.