mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Push the top level logic for writing out swiftmodules and associated files into the frontend library which has access to all the necessary dependencies.
23 lines
473 B
CMake
23 lines
473 B
CMake
|
|
add_swift_host_library(swiftSerialization STATIC
|
|
Deserialization.cpp
|
|
DeserializeSIL.cpp
|
|
ModuleDependencyScanner.cpp
|
|
ModuleFile.cpp
|
|
ModuleFileSharedCore.cpp
|
|
Serialization.cpp
|
|
SerializedModuleLoader.cpp
|
|
SerializedSILLoader.cpp
|
|
SerializeDoc.cpp
|
|
SerializeSIL.cpp
|
|
|
|
LLVM_LINK_COMPONENTS
|
|
BitstreamReader
|
|
)
|
|
target_link_libraries(swiftSerialization PRIVATE
|
|
swiftClangImporter
|
|
swiftOption
|
|
swiftSIL)
|
|
|
|
set_swift_llvm_is_available(swiftSerialization)
|