mirror of
https://github.com/apple/swift-numerics
synced 2026-11-24 04:38:11 +00:00
24 lines
650 B
CMake
24 lines
650 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(IntegerUtilitiesTests
|
|
DivideTests.swift
|
|
DoubleWidthTests.swift
|
|
GCDTests.swift
|
|
RotateTests.swift
|
|
SaturatingArithmeticTests.swift
|
|
ShiftTests.swift)
|
|
target_compile_options(IntegerUtilitiesTests PRIVATE
|
|
-enable-testing)
|
|
target_link_libraries(IntegerUtilitiesTests PUBLIC
|
|
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>
|
|
Numerics
|
|
_TestSupport
|
|
XCTest)
|