Files
CMake/Tests/RunCMake/GeneratorExpression/ResultValidator.cmake
Marc Chevrier 1889ed923e Genex: Add capability to retrieve base name for various target artifacts
This new capability is required to solve efficiently issue #18771
2019-04-08 07:49:08 -04:00

7 lines
228 B
CMake

function (CHECK_VALUE test_msg value expected)
if (NOT value STREQUAL expected)
string (APPEND RunCMake_TEST_FAILED "${test_msg}: actual result:\n [[${value}]]\nbut expected:\n [[${expected}]]\n")
endif()
endfunction()