summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-04-11 08:05:14 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-04-11 08:06:16 (GMT)
commitf62a2bf44f392f6a23836848714ed36cd02975af (patch)
tree704729842548d71750291fb1390e323950b0a6de /Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake
parent6e7ff52af74cfbff15ded5c3aba7097499dffd32 (diff)
downloadCMake-f62a2bf44f392f6a23836848714ed36cd02975af.zip
CMake-f62a2bf44f392f6a23836848714ed36cd02975af.tar.gz
CMake-f62a2bf44f392f6a23836848714ed36cd02975af.tar.bz2
Tests: Factor out XcodeProject-Embed check function findAttribute()
Diffstat (limited to 'Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake16
1 files changed, 3 insertions, 13 deletions
diff --git a/Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake b/Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake
index 9cc03b9..dbd3e87 100644
--- a/Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake
+++ b/Tests/RunCMake/XcodeProject-Embed/EmbedFrameworksFlagsOff-check.cmake
@@ -1,14 +1,4 @@
-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
- )
+include(${CMAKE_CURRENT_LIST_DIR}/findAttribute.cmake)
- if(NOT result_var)
- set(RunCMake_TEST_FAILED "${attr} attribute is set" PARENT_SCOPE)
- endif()
-endfunction()
-
-findAttribute(${test} "RemoveHeadersOnCopy")
-findAttribute(${test} "CodeSignOnCopy")
+findAttribute(${test} "RemoveHeadersOnCopy" FALSE)
+findAttribute(${test} "CodeSignOnCopy" FALSE)
d8'>bug_734138ded8 Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclOO.h')
-rw-r--r--generic/tclOO.h2
1 files changed, 1 insertions, 1 deletions