Files
swift-mirror/stdlib/private/SwiftPrivate/CMakeLists.txt
Dmitri Hrybenko 350248dae5 Reorganize the directory structure under 'stdlib'
The standard library has grown significantly, and we need a new
directory structure that clearly reflects the role of the APIs, and
allows future growth.

See stdlib/{public,internal,private}/README.txt for more information.

Swift SVN r25876
2015-03-09 05:26:05 +00:00

21 lines
599 B
CMake

set(swift_private_private_link_libraries)
if(SWIFT_HOST_VARIANT STREQUAL "linux")
# Needed for arc4random
find_package(BSD REQUIRED)
list(APPEND swift_private_private_link_libraries
${BSD_LIBRARIES})
endif()
add_swift_library(swiftSwiftPrivate SHARED IS_STDLIB
# This file should be listed the first. Module name is inferred from the
# filename.
SwiftPrivate.swift
IO.swift
PRNG.swift
ShardedAtomicCounter.swift
SWIFT_COMPILE_FLAGS -Xfrontend -sil-serialize-all
PRIVATE_LINK_LIBRARIES ${swift_private_private_link_libraries}
INSTALL_IN_COMPONENT stdlib-experimental)