cmake define_property examples

Signatures

define_property(<GLOBAL | DIRECTORY | TARGET | SOURCE |
  TEST | VARIABLE | CACHED_VARIABLE>
  PROPERTY <name> [INHERITED]
  [BRIEF_DOCS <brief-doc> [docs...]]
  [FULL_DOCS <full-doc> [docs...]]
[INITIALIZE_FROM_VARIABLE <variable>])

Examples

cryfs/cryfs vendor/cryptopp/vendor_cryptopp_cmake/test/integration/CMakeLists.txt :10

define_property(TEST PROPERTY install_dir
                BRIEF_DOCS "Install-dir of the test"
                FULL_DOCS "Just set because not optional (yet)")