Skip to content

Commit 9accdb9

Browse files
authored
Update CMakeLists.txt
1 parent ce16ef3 commit 9accdb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SwiftCompilerSources/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ else()
232232

233233
# TODO: generate this dynamically through the modulemap; this cannot use `sed`
234234
# as that is not available on all paltforms (e.g. Windows).
235+
#
236+
# step 1: generate a dummy source file, which just includes all headers
237+
# defined in include/swift/module.modulemap
235238
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/HeaderDependencies.cpp"
236239
"\
237240
#include \"Basic/BridgedSwiftObject.h\" \

0 commit comments

Comments
 (0)