File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ include(CompilerSettings)
12
12
include_directories (include )
13
13
14
14
add_subdirectory (LLVMSupport )
15
+ add_subdirectory (SwiftShims/swift/shims )
Original file line number Diff line number Diff line change
1
+ # Swift shim header files
2
+ install (FILES
3
+ AssertionReporting.h
4
+ CoreFoundationShims.h
5
+ EmbeddedShims.h
6
+ FoundationShims.h
7
+ GlobalObjects.h
8
+ HeapObject.h
9
+ KeyPath.h
10
+ LibcOverlayShims.h
11
+ LibcShims.h
12
+ MetadataSections.h
13
+ Random.h
14
+ RefCount.h
15
+ Reflection.h
16
+ RuntimeShims.h
17
+ RuntimeStubs.h
18
+ SwiftStdbool.h
19
+ SwiftStddef.h
20
+ SwiftStdint.h
21
+ System .h
22
+ Target .h
23
+ ThreadLocalStorage.h
24
+ UnicodeData.h
25
+ Visibility.h
26
+ _SwiftConcurrency.h
27
+ _SwiftDistributed.h
28
+ _SynchronizationShims.h
29
+ module.modulemap
30
+ DESTINATION "${CMAKE_INSTALL_LIBDIR} /swift/shims" )
31
+
32
+ add_library (swiftShims INTERFACE )
33
+ target_include_directories (swiftShims INTERFACE
34
+ $< $< COMPILE_LANGUAGE:C,CXX> :${CMAKE_CURRENT_SOURCE_DIR} /../../>
35
+ $< $< COMPILE_LANGUAGE:Swift> :${CMAKE_CURRENT_SOURCE_DIR} > )
36
+ target_compile_options (swiftShims INTERFACE
37
+ $< $< COMPILE_LANGUAGE:Swift> :SHELL:-Xcc$< SEMICOLON> -fmodule-map-file=${CMAKE_CURRENT_SOURCE_DIR} /module.modulemap> )
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ endfunction()
52
52
copy_library_sources (include "" "Core" )
53
53
54
54
set (CoreLibs
55
- LLVMSupport )
55
+ LLVMSupport
56
+ SwiftShims )
56
57
57
58
# Add these as we get them building
58
59
# core
You can’t perform that action at this time.
0 commit comments