Files
swift-mirror/tools/swift-syntax-test/CMakeLists.txt
Michael Gottesman 06cb5c0047 [cmake] Move a bunch of test binaries from install component 'tools' -> 'testsuite-tools'.
All of these are tools that are only meant to be used when testing swift. Thus
it doesn't make sense to include them in the catch all 'tools' install component
that distributions use to build all the tools.

I verified that all of the mac/linux presets in tree that have tools also has
testsuite-tools so this should be NFC. On Windows, I needed to add
testsuite-tools to build-windows.bat so should be NFC there as well.
2021-11-09 12:51:58 -08:00

14 lines
381 B
CMake

add_swift_host_tool(swift-syntax-test
swift-syntax-test.cpp
LLVM_LINK_COMPONENTS
Support
SWIFT_COMPONENT testsuite-tools
)
target_link_libraries(swift-syntax-test
PRIVATE
swiftAST
swiftDriver
swiftFrontend
swiftSema
swiftSyntax)