Skip to content

Commit 3106f15

Browse files
committed
Runtimes: adjust the default settings for Windows
This adjusts the default settings for the Windows build of the Swift runtime to include reflection and to re-order them to match the Darwin configuration to make it easier to identify differences.
1 parent deb1d96 commit 3106f15

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Runtimes/Core/cmake/modules/DefaultSettings.cmake

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ elseif(LINUX OR ANDROID OR BSD)
6262
set(SwiftCore_CONCURRENCY_GLOBAL_EXECUTOR_default "dispatch")
6363
elseif(WIN32)
6464
set(SwiftCore_OBJECT_FORMAT_default "coff")
65-
set(SwiftCore_THREADING_PACKAGE_default "WIN32")
65+
set(SwiftCore_ENABLE_REFLECTION_default ON)
6666
set(SwiftCore_ENABLE_FATALERROR_BACKTRACE_default ON)
67-
set(SwiftCore_ENABLE_PRESPECIALIZATION_default ON)
6867
set(SwiftCore_ENABLE_CONCURRENCY_default NO)
68+
set(SwiftCore_THREADING_PACKAGE_default "WIN32")
69+
set(SwiftCore_ENABLE_PRESPECIALIZATION_default ON)
6970
set(SwiftCore_CONCURRENCY_GLOBAL_EXECUTOR_default "dispatch")
7071
endif()
7172

0 commit comments

Comments
 (0)