INTERFACE_PRECOMPILE_HEADERS

From Get docs
Cmake/docs/3.21/prop tgt/interface precompile headers


INTERFACE_PRECOMPILE_HEADERS

New in version 3.16.


List of interface header files to precompile into consuming targets.

Targets may populate this property to publish the header files for consuming targets to precompile. The target_precompile_headers() command populates this property with values given to the PUBLIC and INTERFACE keywords. Projects may also get and set the property directly. See the discussion in target_precompile_headers() for guidance on appropriate use of this property for installed or exported targets.

Contents of INTERFACE_PRECOMPILE_HEADERS may use "generator expressions" with the syntax $<...>. See the cmake-generator-expressions(7) manual for available expressions. See the cmake-buildsystem(7) manual for more on defining buildsystem properties.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.html