Files
swift-mirror/stdlib/public/SwiftOnoneSupport/CMakeLists.txt
Roman Levenstein 8dff92ad4d Move pre-specializations of popular types away from the standard library.
Pre-specializations were only used by Onone builds, but were kept inside the standard library dylyb anyways. This commit moves all the pre-specializations into a dedicated Swift module and a dynamic library, which are only used by Onone builds.

This reduces the code size of libswiftCore.dylib by 4%-5%.
2016-02-25 11:23:15 -08:00

7 lines
271 B
CMake

add_swift_library(swiftSwiftOnoneSupport SHARED IS_STDLIB
# This file should be listed the first. Module name is inferred from the
# filename.
SwiftOnoneSupport.swift
SWIFT_COMPILE_FLAGS ${STDLIB_SIL_SERIALIZE_ALL} "-parse-stdlib"
INSTALL_IN_COMPONENT stdlib)