CMake/Tests/RunCMake/CPackInstallProperties/PerConfigValue-check.cmake
Nils Gladitz 15a8af21e8 Add an "installed file" property scope
Teach set_property and get_property an "INSTALL" property type to be
associated with install-tree file paths.  Make the properties available
to CPack for use during packaging.  Add a "prop_inst" Sphinx domain
object type for documentation of such properties.
2014-05-28 12:28:18 -04:00

14 lines
393 B
CMake

include(${RunCMake_SOURCE_DIR}/check.cmake)
file(GLOB INFO_FILES ${RunCMake_TEST_BINARY_DIR}/runtest_info_*.cmake)
if(NOT INFO_FILES)
message(FATAL_ERROR "missing expected info files")
endif()
foreach(INFO_FILE IN LISTS INFO_FILES)
include(${INFO_FILE})
include(${RunCMake_TEST_BINARY_DIR}/CPackProperties.cmake)
test_property("config.cpp" FOO ${EXPECTED_MYTEST_NAME})
endforeach()