mirror of
https://github.com/apple/swift-numerics
synced 2026-11-29 05:24:24 +00:00
Co-authored-by: Nate Cook <natecook@apple.com> Co-authored-by: Max Moiseev <moiseev@users.noreply.github.com> Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com>
23 lines
647 B
CMake
23 lines
647 B
CMake
#[[
|
|
This source file is part of the Swift Numerics open source project
|
|
|
|
Copyright (c) 2019-2021 Apple Inc. and the Swift Numerics project authors
|
|
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
|
|
See https://swift.org/LICENSE.txt for license information
|
|
#]]
|
|
|
|
add_library(_TestSupport
|
|
DoubleWidth.swift
|
|
Error.swift
|
|
Interval.swift
|
|
RealTestSupport.swift)
|
|
set_target_properties(_TestSupport PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
|
|
target_link_libraries(_TestSupport PUBLIC
|
|
Numerics)
|
|
|
|
|
|
_install_target(_TestSupport)
|
|
set_property(GLOBAL APPEND PROPERTY SWIFT_NUMERICS_EXPORTS _TestSupport)
|