2020-02-01 23:06:01 +01:00
|
|
|
SKIP_PRECOMPILE_HEADERS
|
|
|
|
-----------------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.16
|
|
|
|
|
2020-02-01 23:06:01 +01:00
|
|
|
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.
|
|
|
|
|
2020-08-30 11:54:41 +02:00
|
|
|
One example would be the usage of Objective-C (``*.m``) files, and
|
|
|
|
Objective-C++ (``*.mm``) files, which lead to compilation failure
|
2020-02-01 23:06:01 +01:00
|
|
|
because they are treated (in case of Ninja / Makefile generator)
|
|
|
|
as C, and CXX respectively. The precompile headers are not
|
|
|
|
compatible between languages.
|