Files
swift-mirror/unittests/CMakeLists.txt
Artem Chikin 73b01dccfc Remove incremental builds from the Legacy driver
The C++-based driver is deprecated and this will help reduce the code surface that requires maintenance as the legacy driver is fully sunset.
2024-01-16 16:34:51 -08:00

36 lines
819 B
CMake

include(AddSwiftUnittests)
if(SWIFT_INCLUDE_TOOLS)
# We can't link C++ unit tests unless we build the tools.
add_subdirectory(AST)
add_subdirectory(Basic)
add_subdirectory(ClangImporter)
add_subdirectory(DependencyScan)
add_subdirectory(FrontendTool)
add_subdirectory(Localization)
add_subdirectory(IDE)
add_subdirectory(Parse)
add_subdirectory(Remangler)
add_subdirectory(Sema)
add_subdirectory(SIL)
add_subdirectory(SILOptimizer)
add_subdirectory(SwiftDemangle)
add_subdirectory(Threading)
if(SWIFT_BUILD_SDK_OVERLAY)
# Runtime tests depend on symbols in StdlibUnittest.
#
# FIXME: cross-compile runtime unittests.
add_subdirectory(runtime)
add_subdirectory(Reflection)
endif()
if(SWIFT_BUILD_SOURCEKIT)
add_subdirectory(SourceKit)
endif()
endif()