mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The C++-based driver is deprecated and this will help reduce the code surface that requires maintenance as the legacy driver is fully sunset.
36 lines
819 B
CMake
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()
|
|
|