mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
19 lines
459 B
CMake
19 lines
459 B
CMake
add_swift_host_tool(swift-remoteast-test
|
|
swift-remoteast-test.cpp
|
|
LINK_LIBRARIES
|
|
swiftFrontendTool
|
|
swiftRemoteAST
|
|
SWIFT_COMPONENT tools
|
|
)
|
|
|
|
set_target_properties(swift-remoteast-test PROPERTIES ENABLE_EXPORTS 1)
|
|
if(HAVE_UNICODE_LIBEDIT)
|
|
target_link_libraries(swift-remoteast-test edit)
|
|
endif()
|
|
|
|
# If building as part of clang, make sure the headers are installed.
|
|
if(NOT SWIFT_BUILT_STANDALONE)
|
|
add_dependencies(swift clang-headers)
|
|
endif()
|
|
|