summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/GetProperty-Doc-Properties.cmake
blob: 6c2c3620e140eb7acea350c073b168fb946ed6fb (plain)
1
2
3
4
5
6
7
8
9
10
get_property(FOO_BRIEF GLOBAL PROPERTY FOO BRIEF_DOCS)
get_property(FOO_FULL GLOBAL PROPERTY FOO FULL_DOCS)

if (NOT FOO_BRIEF STREQUAL "NOTFOUND")
  message(SEND_ERROR "property FOO has BRIEF_DOCS set to '${FOO_BRIEF}'")
endif ()

if (NOT FOO_FULL STREQUAL "NOTFOUND")
  message(SEND_ERROR "property FOO has FULL_DOCS set to '${FOO_FULL}'")
endif ()