mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is needed once we implement mandatory passes in Swift, because those testing tools might parse swift interface files from the SDK.
19 lines
601 B
CMake
19 lines
601 B
CMake
add_swift_host_tool(swift-remoteast-test
|
|
swift-remoteast-test.cpp
|
|
SWIFT_COMPONENT testsuite-tools
|
|
HAS_SWIFT_MODULES
|
|
THINLTO_LD64_ADD_FLTO_CODEGEN_ONLY
|
|
)
|
|
target_link_libraries(swift-remoteast-test
|
|
PRIVATE
|
|
swiftFrontendTool
|
|
swiftRemoteAST
|
|
swiftCompilerModules)
|
|
set_target_properties(swift-remoteast-test PROPERTIES ENABLE_EXPORTS 1)
|
|
|
|
# If building as part of clang, make sure the headers are installed.
|
|
if(NOT SWIFT_BUILT_STANDALONE)
|
|
add_dependencies(swift-frontend clang-resource-headers)
|
|
endif()
|
|
|