summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-19 16:47:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-11-19 16:47:37 (GMT)
commit1f7a653e90e2e037867a4121c9edd2bd04997cbd (patch)
tree1e0e21481343a1599d9b4ca934750b808eb02b01 /Source/cmTarget.cxx
parent67be468693c19cdc5377d0d090c055d58f484ed2 (diff)
parent0f80101b73c175dd0272097a5ef9d58f7c35b093 (diff)
downloadCMake-1f7a653e90e2e037867a4121c9edd2bd04997cbd.zip
CMake-1f7a653e90e2e037867a4121c9edd2bd04997cbd.tar.gz
CMake-1f7a653e90e2e037867a4121c9edd2bd04997cbd.tar.bz2
Merge topic 'swift-compilation-mode'
0f80101b73 Tests: Update Swift tests to use CMP0157 NEW behavior c1d787e473 Swift: Add abstraction for compilation mode c39384f540 Tests: Simplify RunCMake.Swift conditions to enable use of Swift Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8918
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 663c9d4..169d808 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -439,6 +439,7 @@ TargetProperty const StaticTargetProperties[] = {
// ---- Swift
{ "Swift_LANGUAGE_VERSION"_s, IC::CanCompileSources },
{ "Swift_MODULE_DIRECTORY"_s, IC::CanCompileSources },
+ { "Swift_COMPILATION_MODE"_s, IC::CanCompileSources },
// ---- moc
{ "AUTOMOC"_s, IC::CanCompileSources },
{ "AUTOMOC_COMPILER_PREDEFINES"_s, IC::CanCompileSources },