CMakeLists.txt 1.73 KB
Newer Older
Pascal Palenda's avatar
Pascal Palenda committed
1
cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
2

Pascal Palenda's avatar
Pascal Palenda committed
3
project (ITANUPConvolutionTests)
4

Pascal Palenda's avatar
Pascal Palenda committed
5
# ######################################################################################################################
6

Pascal Palenda's avatar
Pascal Palenda committed
7
8
add_executable (NUPFSegTest NUPFSegTest.cpp)
target_link_libraries (NUPFSegTest ITAConvolution::ITAConvolution)
9

Pascal Palenda's avatar
Pascal Palenda committed
10
set_property (TARGET NUPFSegTest PROPERTY FOLDER "Tests/ITAConvolution/NUP")
11

Pascal Palenda's avatar
Pascal Palenda committed
12
install (TARGETS NUPFSegTest RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
13

Pascal Palenda's avatar
Pascal Palenda committed
14
# ######################################################################################################################
15

Pascal Palenda's avatar
Pascal Palenda committed
16
17
add_executable (NUPTest "NUPTest.cpp")
target_link_libraries (NUPTest ITAConvolution::ITAConvolution)
18

Pascal Palenda's avatar
Pascal Palenda committed
19
set_property (TARGET NUPTest PROPERTY FOLDER "Tests/ITAConvolution/NUP")
20

Pascal Palenda's avatar
Pascal Palenda committed
21
install (TARGETS NUPTest RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
22

Pascal Palenda's avatar
Pascal Palenda committed
23
# ######################################################################################################################
24

Pascal Palenda's avatar
Pascal Palenda committed
25
if (ITA_CONVOLUTION_NUPCONV_WITH_PERFORMANCE_LOGGER)
26

Pascal Palenda's avatar
Pascal Palenda committed
27
28
	add_executable (NUPCPPTest NUPCPPTest.cpp)
	target_link_libraries (NUPCPPTest ITAConvolution::ITAConvolution)
29

Pascal Palenda's avatar
Pascal Palenda committed
30
	set_property (TARGET NUPCPPTest PROPERTY FOLDER "Tests/ITAConvolution/NUP")
31

Pascal Palenda's avatar
Pascal Palenda committed
32
	install (TARGETS NUPCPPTest RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
33

Pascal Palenda's avatar
Pascal Palenda committed
34
	# ##################################################################################################################
35

Pascal Palenda's avatar
Pascal Palenda committed
36
37
	add_executable (NUPConvPerformanceProvileView NUPConvPerformanceProvileView.cpp)
	target_link_libraries (NUPConvPerformanceProvileView ITAConvolution::ITAConvolution)
38

Pascal Palenda's avatar
Pascal Palenda committed
39
	set_property (TARGET NUPConvPerformanceProvileView PROPERTY FOLDER "Tests/ITAConvolution/NUP")
40

Pascal Palenda's avatar
Pascal Palenda committed
41
	install (TARGETS NUPConvPerformanceProvileView RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
42

Pascal Palenda's avatar
Pascal Palenda committed
43
endif ()