blob: 3f62640c93d9e5c53fa4ef0591c64f41d55ba2dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
function(findAttribute project attr)
execute_process(
COMMAND grep ${attr} ${RunCMake_TEST_BINARY_DIR}/${project}.xcodeproj/project.pbxproj
OUTPUT_VARIABLE output_var
RESULT_VARIABLE result_var
)
if(result_var)
set(RunCMake_TEST_FAILED "${attr} attribute not set" PARENT_SCOPE)
endif()
endfunction()
findAttribute(${test} "RemoveHeadersOnCopy")
findAttribute(${test} "CodeSignOnCopy")
|