forked from llnl/zfp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
29 lines (25 loc) · 859 Bytes
/
CMakeLists.txt
File metadata and controls
29 lines (25 loc) · 859 Bytes
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
function(zfp_add_cpp_tests dims type bits)
# test templated block encoding
set(test_name testTemplatedEncode${dims}${type})
add_executable(${test_name} ${test_name}.cpp)
target_link_libraries(${test_name}
gtest gtest_main zfp rand${bits}Lib)
target_compile_definitions(${test_name} PRIVATE ${zfp_compressed_array_defs})
add_test(NAME ${test_name} COMMAND ${test_name})
endfunction()
zfp_add_cpp_tests(1 f 32)
zfp_add_cpp_tests(2 f 32)
zfp_add_cpp_tests(3 f 32)
zfp_add_cpp_tests(4 f 32)
zfp_add_cpp_tests(1 d 64)
zfp_add_cpp_tests(2 d 64)
zfp_add_cpp_tests(3 d 64)
zfp_add_cpp_tests(4 d 64)
#zfp_add_cpp_tests(1 Int32 32)
#zfp_add_cpp_tests(2 Int32 32)
#zfp_add_cpp_tests(3 Int32 32)
#zfp_add_cpp_tests(4 Int32 32)
#zfp_add_cpp_tests(1 Int64 64)
#zfp_add_cpp_tests(2 Int64 64)
#zfp_add_cpp_tests(3 Int64 64)
#zfp_add_cpp_tests(4 Int64 64)