diff options
author | Brad King <brad.king@kitware.com> | 2015-07-08 13:19:10 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-08 13:19:10 (GMT) |
commit | 8c1460653e8f21b9e09324617836aeec18f350b7 (patch) | |
tree | 16e68097c0f17ec6c8b72dfd5d6c6b123903db81 /Tests/RunCMake/CMakeLists.txt | |
parent | ad91d0edd5b8e56dc6afffa38e01bcc7d0d265cd (diff) | |
parent | bf11253163b54f7c18b001cb00973a6341ee859b (diff) | |
download | CMake-8c1460653e8f21b9e09324617836aeec18f350b7.zip CMake-8c1460653e8f21b9e09324617836aeec18f350b7.tar.gz CMake-8c1460653e8f21b9e09324617836aeec18f350b7.tar.bz2 |
Merge topic 'add-apple-swift-language'
bf112531 Add rudimentary support for the Apple Swift language with Xcode
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 743ef4b..c0ac5c8 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -59,6 +59,10 @@ function(add_RunCMake_test_group test types) endforeach() endfunction() +if(XCODE_VERSION AND "${XCODE_VERSION}" VERSION_LESS 6.1) + set(Swift_ARGS -DXCODE_BELOW_6_1=1) +endif() + if(XCODE_VERSION AND "${XCODE_VERSION}" VERSION_LESS 3) set(GeneratorToolset_ARGS -DXCODE_BELOW_3=1) endif() @@ -132,6 +136,7 @@ add_RunCMake_test(GNUInstallDirs) add_RunCMake_test(TargetPropertyGeneratorExpressions) add_RunCMake_test(Languages) add_RunCMake_test(ObjectLibrary) +add_RunCMake_test(Swift) add_RunCMake_test(TargetObjects) add_RunCMake_test(TargetSources) add_RunCMake_test(find_dependency) |