whitelist.cmake 667 B

12345678910111213141516
  1. add_library(iface INTERFACE)
  2. set_property(TARGET iface PROPERTY OUTPUT_NAME output)
  3. set_property(TARGET iface APPEND PROPERTY OUTPUT_NAME append)
  4. get_target_property(outname iface OUTPUT_NAME)
  5. # Properties starting with `_` are allowed.
  6. set_property(TARGET iface PROPERTY "_custom_property" output)
  7. set_property(TARGET iface APPEND PROPERTY "_custom_property" append)
  8. get_target_property(outname iface "_custom_property")
  9. # Properties starting with a lowercase letter are allowed.
  10. set_property(TARGET iface PROPERTY "custom_property" output)
  11. set_property(TARGET iface APPEND PROPERTY "custom_property" append)
  12. get_target_property(outname iface "custom_property")