Files
swift-mirror/tools/swift-remoteast-test/CMakeLists.txt
Erik Eckstein fa56ba2c3c link SwiftCompilerSources modules to lldb-moduleimport-test and swift-remoteast-test
This is needed once we implement mandatory passes in Swift, because those testing tools might parse swift interface files from the SDK.
2025-06-20 08:15:03 +02:00

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()