Skip to content

Commit

Permalink
Merge pull request llvm#23196 from apple/self-reflection-is-difficult
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci committed Mar 9, 2019
2 parents da45b8d + 2c5fe7d commit 52ddabe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion stdlib/tools/swift-reflection-test/CMakeLists.txt
Expand Up @@ -4,4 +4,10 @@ add_swift_target_executable(swift-reflection-test BUILD_WITH_STDLIB
LINK_FAT_LIBRARIES
swiftRemoteMirror
swiftReflection)

# NOTE(compnerd) since _WINDLL has no impact on non-Windows targets,
# we just spam it on all the targets for simplicity due to the build
# structure of swift. This will make the global variable imported,
# which we need.
set_source_files_properties(swift-reflection-test.c
PROPERTIES
COMPILE_FLAGS -D_WINDLL)

0 comments on commit 52ddabe

Please sign in to comment.