Files
swift-mirror/unittests/Parse/CMakeLists.txt
Jordan Rose 9e2577d379 [CMake] Cope with circular dependencies by tweaking link order.
Linux (rather, gold) is stricter than macOS (ld64) about this, so
until we can eliminate the rest of the dependencies this is the
best workaround we have.
2017-07-17 12:18:41 -06:00

16 lines
292 B
CMake

add_swift_unittest(SwiftParseTests
BuildConfigTests.cpp
LexerTests.cpp
TokenizerTests.cpp
)
target_link_libraries(SwiftParseTests
swiftSIL
swiftClangImporter
swiftParse
swiftAST
# FIXME: Sema must go last because of circular dependencies with AST.
swiftSema
)