refactor: quantity cration helpers are not opt-out rather than opt-in

Resolves #277
This commit is contained in:
Mateusz Pusz committed 2021-05-09 15:52:20 +02:00
1 parent c1cf800bd1
commit 2c8c6c2e98
99 files changed
+500 -517

No files matched your search

-5
View File
@@ -35,11 +35,6 @@ target_link_libraries(unit_tests_runtime PRIVATE
mp-units::mp-units
Catch2::Catch2
)
target_compile_definitions(unit_tests_runtime PRIVATE
UNITS_REFERENCES
UNITS_LITERALS
UNITS_ALIASES
)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(unit_tests_runtime PRIVATE
-10
View File
@@ -37,11 +37,6 @@ target_link_libraries(unit_tests_static_truncating PRIVATE
target_compile_options(unit_tests_static_truncating PRIVATE
$<IF:$<CXX_COMPILER_ID:MSVC>,/wd4242 /wd4244,-Wno-conversion>
)
target_compile_definitions(unit_tests_static_truncating PRIVATE
UNITS_REFERENCES
UNITS_LITERALS
UNITS_ALIASES
)
add_library(unit_tests_static
cgs_test.cpp
@@ -78,8 +73,3 @@ target_link_libraries(unit_tests_static PRIVATE
unit_tests_static_truncating
mp-units::mp-units
)
target_compile_definitions(unit_tests_static PRIVATE
UNITS_REFERENCES
UNITS_LITERALS
UNITS_ALIASES
)