mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
37 lines
848 B
CMake
37 lines
848 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(Frontend)
|
|
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()
|
|
|