mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-compatibility-symbols, swift-def-to-strings-converter, and swift-serialize-diagnostics don't use any Swift modules. But when SWIFT_SWIFT_PARSER was enabled, they are linked with swiftCore. But these binaries can be executed before the runtime is being built. We need to stop them linking with swiftCore.
9 lines
218 B
CMake
9 lines
218 B
CMake
add_swift_host_tool(swift-def-to-strings-converter
|
|
swift-def-to-strings-converter.cpp
|
|
SWIFT_COMPONENT tools
|
|
DOES_NOT_USE_SWIFT
|
|
)
|
|
|
|
target_link_libraries(swift-def-to-strings-converter PRIVATE
|
|
swiftLocalization)
|