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.
8 lines
424 B
8 lines
424 B
9 years ago
|
set(expect "TEST_HOST = \"[^;\"]*Tests/RunCMake/XcodeProject/XcodeAttributeGenex-build/[^;\"/]*/some\"")
|
||
|
file(STRINGS ${RunCMake_TEST_BINARY_DIR}/XcodeAttributeGenex.xcodeproj/project.pbxproj actual
|
||
|
REGEX "TEST_HOST = .*;" LIMIT_COUNT 1)
|
||
|
if(NOT "${actual}" MATCHES "${expect}")
|
||
|
message(SEND_ERROR "The actual project contains the line:\n ${actual}\n"
|
||
|
"which does not match expected regex:\n ${expect}\n")
|
||
|
endif()
|