Files
swift-mirror/tools/swift-remoteast-test/CMakeLists.txt
Bob Wilson 390058972a [master-next] Use PRIVATE in target_link_libraries for executables
This is needed to work with LLVM r319840.
2017-12-06 21:55:22 -08:00

19 lines
467 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 PRIVATE 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()