Files
swift-mirror/stdlib/private/CMakeLists.txt
Ravi Kandhadai 592bca7202 [oslog] [stdlib-private] Add a prototype of the new os_log swift APIs
that accept string interpolations.

The prototypes are added to stdlib/private directory and will be
used only in tests and in experimental code.
2019-03-14 15:26:21 -07:00

28 lines
920 B
CMake

if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
add_subdirectory(SwiftPrivate)
endif()
if(SWIFT_BUILD_SDK_OVERLAY)
# SwiftPrivateThreadExtras makes use of Darwin/Glibc, which is part of the
# SDK overlay. It can't be built separately from the SDK overlay.
add_subdirectory(RuntimeUnittest)
add_subdirectory(StdlibUnicodeUnittest)
add_subdirectory(StdlibCollectionUnittest)
add_subdirectory(SwiftPrivateLibcExtras)
add_subdirectory(SwiftPrivateThreadExtras)
# NOTE(compnerd) this must come after SwiftPrivateLibcExtras and
# SwiftPrivateThreadExtras to ensure that the dependency targets are setup in
# the correct order for Windows.
add_subdirectory(StdlibUnittest)
add_subdirectory(OSLog)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
add_subdirectory(StdlibUnittestFoundationExtras)
if (SWIFT_INCLUDE_TESTS)
add_subdirectory(SwiftReflectionTest)
endif()
endif()
endif()