Files
swift-mirror/stdlib/unittest/CMakeLists.txt
Joe Groff f02ba53d97 Reenable the weak reference runtime tests in weak.mm.
Instead of directly referencing a long-dead constructor from the standard library, put a purpose-built function in StdlibUnittest to feed a Swift object reference to the test C code. rdar://problem/18498737

Swift SVN r24816
2015-01-29 17:49:08 +00:00

30 lines
817 B
CMake

add_swift_library(swiftStdlibUnittest SHARED IS_STDLIB
# This file should be listed the first. Module name is inferred from the
# filename.
StdlibUnittest.swift.gyb
DarwinExtras.swift
GetOSVersion.mm
InterceptTraps.cpp
OpaqueIdentityFunctions.cpp
OpaqueIdentityFunctions.swift
PthreadBarriers.swift
PthreadWrappers.swift
RaceTest.swift
Statistics.swift
StdlibCoreExtras.swift
SwiftBlockToCFunctionThunks.cpp
TestHelpers.swift
LifetimeTracked.swift
# Can not serialize StdlibUnittest because of:
# <rdar://problem/18917405> Compiling StdlibUnittest with -sil-serialize-all
# crashes in SIL serializer
#
# SWIFT_COMPILE_FLAGS -Xfrontend -sil-serialize-all
SWIFT_MODULE_DEPENDS Darwin Foundation
FRAMEWORK_DEPENDS Foundation
INSTALL_IN_COMPONENT stdlib-experimental)