CMakeLists.txt 1.46 KB
Newer Older
1
cmake_minimum_required (VERSION 3.20 FATAL_ERROR)
Jonas Stienen's avatar
Jonas Stienen committed
2

Pascal Palenda's avatar
Pascal Palenda committed
3
project (ITAConvolutionTests)
Jonas Stienen's avatar
Jonas Stienen committed
4

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

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

Pascal Palenda's avatar
Pascal Palenda committed
10
set_property (TARGET ITADirectConvolutionTest PROPERTY FOLDER "Tests/ITAConvolution")
11
set_property (TARGET ITADirectConvolutionTest PROPERTY VS_DEBUGGER_WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
12

Pascal Palenda's avatar
Pascal Palenda committed
13
install (TARGETS ITADirectConvolutionTest RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
Jonas Stienen's avatar
Jonas Stienen committed
14

Pascal Palenda's avatar
Pascal Palenda committed
15
# ######################################################################################################################
Jonas Stienen's avatar
Jonas Stienen committed
16

Pascal Palenda's avatar
Pascal Palenda committed
17
18
add_executable (ITAUniformPartitionedConvolutionTest ITAUniformPartitionedConvolutionTest.cpp)
target_link_libraries (ITAUniformPartitionedConvolutionTest ITAConvolution::ITAConvolution)
Jonas Stienen's avatar
Jonas Stienen committed
19

Pascal Palenda's avatar
Pascal Palenda committed
20
set_property (TARGET ITAUniformPartitionedConvolutionTest PROPERTY FOLDER "Tests/ITAConvolution")
21
set_property (TARGET ITAUniformPartitionedConvolutionTest PROPERTY VS_DEBUGGER_WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
Jonas Stienen's avatar
Jonas Stienen committed
22

Pascal Palenda's avatar
Pascal Palenda committed
23
install (TARGETS ITAUniformPartitionedConvolutionTest RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
Jonas Stienen's avatar
Jonas Stienen committed
24

Pascal Palenda's avatar
Pascal Palenda committed
25
# ######################################################################################################################
Jonas Stienen's avatar
Jonas Stienen committed
26

Pascal Palenda's avatar
Pascal Palenda committed
27
28
29
if (ITA_CONVOLUTION_WITH_NUPCONV)
	add_subdirectory (NUPConvolutionTest)
endif ()