We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45a8f60 + 52ddabe commit e0a90d8Copy full SHA for e0a90d8
stdlib/tools/swift-reflection-test/CMakeLists.txt
@@ -4,4 +4,10 @@ add_swift_target_executable(swift-reflection-test BUILD_WITH_STDLIB
4
LINK_FAT_LIBRARIES
5
swiftRemoteMirror
6
swiftReflection)
7
-
+# NOTE(compnerd) since _WINDLL has no impact on non-Windows targets,
8
+# we just spam it on all the targets for simplicity due to the build
9
+# structure of swift. This will make the global variable imported,
10
+# which we need.
11
+set_source_files_properties(swift-reflection-test.c
12
+ PROPERTIES
13
+ COMPILE_FLAGS -D_WINDLL)
0 commit comments