Files
mp-units/test/static/CMakeLists.txt
T

69 lines
2.3 KiB
CMake
Raw Normal View History

2019-05-17 22:41:46 +02:00
# The MIT License (MIT)
#
# Copyright (c) 2018 Mateusz Pusz
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
2023-12-16 11:51:58 -08:00
cmake_minimum_required(VERSION 3.5)
add_library(unit_tests_static_truncating quantity_test.cpp)
2024-01-06 08:51:01 +01:00
target_link_libraries(unit_tests_static_truncating PRIVATE mp-units::mp-units)
target_compile_options(
2023-05-26 17:05:33 +02:00
unit_tests_static_truncating PRIVATE $<IF:$<CXX_COMPILER_ID:MSVC>,/wd4242 /wd4244,-Wno-conversion>
)
2023-06-11 20:13:35 +03:00
2022-04-02 18:58:23 +02:00
add_library(
unit_tests_static
angular_test.cpp
2023-05-27 17:26:06 +02:00
cgs_test.cpp
2023-04-03 19:23:08 +02:00
chrono_test.cpp
compare_test.cpp
2023-05-30 12:04:32 +02:00
concepts_test.cpp
2022-10-06 23:43:01 +01:00
# custom_rep_test_min_expl.cpp
custom_rep_test_min_impl.cpp
2022-12-16 18:15:48 +01:00
dimension_test.cpp
2024-02-26 09:30:08 +01:00
dimension_symbol_test.cpp
fixed_string_test.cpp
fractional_exponent_quantity.cpp
hep_test.cpp
2023-06-08 17:37:43 +02:00
iau_test.cpp
iec80000_test.cpp
imperial_test.cpp
2023-06-05 15:06:06 +02:00
international_test.cpp
isq_test.cpp
2022-12-27 10:50:20 +01:00
isq_angle_test.cpp
2023-05-26 18:36:35 +02:00
# magnitude_test.cpp
2023-06-14 15:58:21 +03:00
math_test.cpp
2023-06-08 21:29:16 +02:00
natural_test.cpp
prime_test.cpp
quantity_point_test.cpp
2022-12-16 18:15:48 +01:00
quantity_spec_test.cpp
2022-10-19 12:23:04 +02:00
ratio_test.cpp
reference_test.cpp
2023-06-09 09:31:14 +02:00
si_test.cpp
symbol_text_test.cpp
2022-10-19 12:23:04 +02:00
type_list_test.cpp
2023-06-08 21:49:58 +02:00
typographic_test.cpp
2022-10-18 21:24:09 +02:00
unit_test.cpp
unit_symbol_test.cpp
usc_test.cpp
2019-05-17 22:41:46 +02:00
)
2021-03-15 21:11:26 +01:00
2024-01-06 08:51:01 +01:00
target_link_libraries(unit_tests_static PRIVATE mp-units::mp-units)
2024-01-06 08:51:00 +01:00
target_link_libraries(unit_tests_static PRIVATE unit_tests_static_truncating)