INTERFACE_BUILD_PROPERTY.txt 819 B

12345678910111213141516
  1. List of public |property_name| requirements for a library.
  2. Targets may populate this property to publish the |property_name|
  3. required to compile against the headers for the target. The |command_name|
  4. command populates this property with values given to the ``PUBLIC`` and
  5. ``INTERFACE`` keywords. Projects may also get and set the property directly.
  6. When target dependencies are specified using :command:`target_link_libraries`,
  7. CMake will read this property from all target dependencies to determine the
  8. build properties of the consumer.
  9. Contents of |PROPERTY_INTERFACE_NAME| may use "generator expressions"
  10. with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
  11. manual for available expressions. See the :manual:`cmake-buildsystem(7)`
  12. -manual for more on defining buildsystem properties.