You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
500 B

function(test_property FILE NAME EXPECTED_VALUE)
get_property(ACTUAL_VALUE INSTALL "${FILE}" PROPERTY "${NAME}")
if(NOT "${ACTUAL_VALUE}" STREQUAL "${EXPECTED_VALUE}")
message(FATAL_ERROR "${NAME}@${FILE}: property mismatch expected [${EXPECTED_VALUE}] actual [${ACTUAL_VALUE}] (Config:${CPACK_BUILD_CONFIG})")
endif()
endfunction()
set(CPACK_BUILD_CONFIG Debug)
include(${RunCMake_TEST_BINARY_DIR}/CPackProperties.cmake)
include(${RunCMake_TEST_BINARY_DIR}/runtest_info.cmake OPTIONAL)