diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-10-19 20:48:13 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2017-10-31 16:09:26 (GMT) |
commit | e4e9ce7cbe9b41dd535d5246153900cb9657c6ba (patch) | |
tree | 2468f4181c0ffd92b5811e33cdc13e42c956e2e3 /Tests/RunCMake/XcodeProject/XcodeGenerateTopLevelProjectOnly.cmake | |
parent | 41d796be155e0da8fec66cb281429ed0eb91650d (diff) | |
download | CMake-e4e9ce7cbe9b41dd535d5246153900cb9657c6ba.zip CMake-e4e9ce7cbe9b41dd535d5246153900cb9657c6ba.tar.gz CMake-e4e9ce7cbe9b41dd535d5246153900cb9657c6ba.tar.bz2 |
Xcode: Add option to generate only topmost project file
Closes #16780
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeGenerateTopLevelProjectOnly.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/XcodeGenerateTopLevelProjectOnly.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeGenerateTopLevelProjectOnly.cmake b/Tests/RunCMake/XcodeProject/XcodeGenerateTopLevelProjectOnly.cmake new file mode 100644 index 0000000..7e53c49 --- /dev/null +++ b/Tests/RunCMake/XcodeProject/XcodeGenerateTopLevelProjectOnly.cmake @@ -0,0 +1,3 @@ +set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY TRUE) +project(XcodeGenerateTopLevelProjectOnly NONE) +add_subdirectory(subproject) |