-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
34 lines (27 loc) · 1000 Bytes
/
CMakeLists.txt
File metadata and controls
34 lines (27 loc) · 1000 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
30
31
32
macro(buildTarget TARGET)
add_executable(${TARGET} ${TARGET}.cpp)
set_property(TARGET ${TARGET} PROPERTY CUDA_SEPARABLE_COMPILATION ON)
target_link_libraries(${TARGET} ${HDF5_LIBRARIES} ${TIFF_LIBRARIES} ${APR_BUILD_LIBRARY} Threads::Threads ${OPENMP_LINK})
endmacro(buildTarget)
buildTarget(Example_get_apr)
buildTarget(Example_get_apr_by_block)
buildTarget(Example_apr_iterate)
buildTarget(Example_reconstruct_image)
buildTarget(Example_compress_apr)
buildTarget(Example_apr_neighbour_access)
buildTarget(Example_compute_gradient)
buildTarget(Example_apr_filter)
buildTarget(Example_apr_deconvolution)
buildTarget(Example_random_access)
buildTarget(Example_lazy_access)
#APR GPU Tests
if(APR_USE_CUDA)
buildTarget(Example_get_multiapr)
endif()
#buildTarget(Example_reconstruct_patch) #The way this is working is going to be re-designed.
buildTarget(Example_apr_tree)
buildTarget(Example_ray_cast)
if(APR_DENOISE)
#requires eigen
buildTarget(Example_denoise)
endif()