-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
52 lines (49 loc) · 1.22 KB
/
CMakeLists.txt
File metadata and controls
52 lines (49 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
add_subdirectory(array)
add_subdirectory(var)
add_subdirectory(safe_cast)
function(add_test_suites)
foreach(test_file ${ARGN})
string(REPLACE "/" "_" test_name "${test_file}")
add_unit_test(
${test_name}
GTEST
FILES
${test_file}
INCLUDE_DIRECTORIES
${CMAKE_SOURCE_DIR}/test/
LIBRARIES
safe_arithmetic)
endforeach()
endfunction()
add_test_suites(
big_integer/detail/storage.cpp
big_integer/detail/plus.cpp
big_integer/detail/minus.cpp
big_integer/detail/negate.cpp
big_integer/detail/bit_and.cpp
big_integer/detail/bit_or.cpp
big_integer/detail/bit_xor.cpp
big_integer/detail/bit_not.cpp
big_integer/detail/shift.cpp
big_integer/detail/multiplies.cpp
big_integer/detail/compare.cpp
big_integer/detail/divides.cpp
big_integer.cpp
var.cpp
match.cpp
array.cpp
safe_cast.cpp
dsl/add.cpp
dsl/divide.cpp
dsl/intersection.cpp
dsl/is_equal.cpp
dsl/is_subset.cpp
dsl/abs.cpp
dsl/mask.cpp
dsl/bitwise_and.cpp
dsl/detail/triint.cpp
dsl/bitwise_or.cpp
dsl/bitwise_xor.cpp
dsl/bitwise_invert.cpp
dsl.cpp
dsl/minus.cpp)