diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2019-11-18 21:01:04 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2019-11-18 21:34:34 (GMT) |
commit | 92c4c852db821bc75ef0a20db4855e3af57ef80d (patch) | |
tree | 899d2fb78c0ecc900572cd33ee5169e1f759a883 /Tests | |
parent | cbedead9a25c12272918f1f70c8a1e1417605728 (diff) | |
download | CMake-92c4c852db821bc75ef0a20db4855e3af57ef80d.zip CMake-92c4c852db821bc75ef0a20db4855e3af57ef80d.tar.gz CMake-92c4c852db821bc75ef0a20db4855e3af57ef80d.tar.bz2 |
Xcode: Add custom working directory property
Closes: #19967
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/XcodeProject/XcodeSchemaProperty-check.cmake | 1 | ||||
-rw-r--r-- | Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeSchemaProperty-check.cmake b/Tests/RunCMake/XcodeProject/XcodeSchemaProperty-check.cmake index 7d83a70..c742f50 100644 --- a/Tests/RunCMake/XcodeProject/XcodeSchemaProperty-check.cmake +++ b/Tests/RunCMake/XcodeProject/XcodeSchemaProperty-check.cmake @@ -45,6 +45,7 @@ check_property("ENVIRONMENT" [=[key="FOO"]=]) check_property("ENVIRONMENT" [=[value="foo"]=]) check_property("ENVIRONMENT" [=[key="BAR"]=]) check_property("ENVIRONMENT" [=[value="bar"]=]) +check_property("WORKING_DIRECTORY" [=["/working/dir"]=]) expect_no_schema("NoSchema") diff --git a/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake b/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake index be219f4..ce5c0c9 100644 --- a/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake +++ b/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake @@ -35,6 +35,7 @@ endfunction() create_scheme_for_property(EXECUTABLE myExecutable) create_scheme_for_property(ARGUMENTS "--foo;--bar=baz") create_scheme_for_property(ENVIRONMENT "FOO=foo;BAR=bar") +create_scheme_for_property(WORKING_DIRECTORY "/working/dir") add_executable(NoSchema main.cpp) set_target_properties(NoSchema PROPERTIES XCODE_GENERATE_SCHEME OFF) |