SKIP_PRECOMPILE_HEADERS.rst 552 B

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