1
0

SKIP_PRECOMPILE_HEADERS.rst 520 B

12345678910111213
  1. SKIP_PRECOMPILE_HEADERS
  2. -----------------------
  3. Is this source file skipped by :prop_tgt:`PRECOMPILE_HEADERS` feature.
  4. This property helps with build problems that one would run into
  5. when using the :prop_tgt:`PRECOMPILE_HEADERS` feature.
  6. One example would be the usage of Objective-C (*.m) files, and
  7. Objective-C++ (*.mm) files, which lead to compilation failure
  8. because they are treated (in case of Ninja / Makefile generator)
  9. as C, and CXX respectively. The precompile headers are not
  10. compatible between languages.