-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
40 lines (33 loc) · 1.79 KB
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 3.10)
project(viltrum)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
include(Paths)
# include(External)
include(Compiler)
###########################################################################################
# TARGETS
###########################################################################################
find_package(TBB REQUIRED)
add_executable(test-array-parameter main/compilation-tests/array-parameter.cc)
target_link_libraries(test-array-parameter PRIVATE TBB::tbb)
add_executable(test-multiple-parameters main/compilation-tests/multiple-parameters.cc)
target_link_libraries(test-multiple-parameters PRIVATE TBB::tbb)
add_executable(test-multiple-parameters-2d main/compilation-tests/multiple-parameters-2d.cc)
target_link_libraries(test-multiple-parameters-2d PRIVATE TBB::tbb)
add_executable(test-multiple-parameters-sequence main/compilation-tests/multiple-parameters-sequence.cc)
target_link_libraries(test-multiple-parameters-sequence PRIVATE TBB::tbb)
add_executable(test-random-sequence main/compilation-tests/random-sequence.cc)
add_executable(test-concat main/compilation-tests/concat.cc)
add_executable(test-covariance main/compilation-tests/covariance.cc)
add_executable(test-inverse main/compilation-tests/inverse.cc)
add_executable(test-region-sample main/compilation-tests/region-sample.cc)
add_executable(test-region-sample-2d main/compilation-tests/region-sample-2d.cc)
add_executable(test-region-sample-3d main/compilation-tests/region-sample-3d.cc)
##########
# FOR DOCUMENTATION
##########
#add_executable(integrands main/doc/integrands.cc)
#add_executable(ranges main/doc/ranges.cc)
#add_executable(integrators main/doc/integrators.cc)
#add_executable(bins main/doc/bins.cc)
#add_executable(integrators-bins main/doc/integrators-bins.cc)