Commit bf24fda9 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Update benchmark CMakeLists

parent b979adaa
cmake_minimum_required( VERSION 2.8 )
cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
project( ITAConvolutionBenchmarks )
project (ITAConvolutionBenchmarks)
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
# ######################################################################################################################
vista_use_package( ITABase REQUIRED FIND_DEPENDENCIES )
vista_use_package( ITAConvolution REQUIRED FIND_DEPENDENCIES )
vista_use_package( ITADataSources REQUIRED FIND_DEPENDENCIES )
add_executable (ITAConvolution_BM_UPConv ITAConvolution_BM_UPConv.cpp)
target_link_libraries (ITAConvolution_BM_UPConv ITAConvolution::ITAConvolution ITADataSources::ITADataSources)
set_property (TARGET ITAConvolution_BM_UPConv PROPERTY FOLDER "Benchmarks/ITAConvolution")
if( ITA_CORE_LIBS_BUILD_STATIC )
add_definitions( -DITA_BASE_STATIC -DITA_DSP_STATIC -DITA_DATA_SOURCES_STATIC -DITA_CONVOLUTION_STATIC )
endif( )
if( ITA_VISTA_BUILD_STATIC )
add_definitions( -DVISTATOOLS_STATIC -DVISTABASE_STATIC -DVISTAMATH_STATIC -DVISTAASPECTS_STATIC -DVISTAINTERPROCCOMM_STATIC )
endif( )
#add_executable( ITAConvolution_BM_UPCFilterComponent NUPCFilterComponentBenchmark.h NUPCFilterComponentBenchmark.cpp )
#target_link_libraries( ITAConvolution_BM_UPCFilterComponent ${VISTA_USE_PACKAGE_LIBRARIES} )
#vista_configure_app( ITAConvolution_BM_UPCFilterComponent )
#vista_install( ITAConvolution_BM_UPCFilterComponent )
#vista_create_default_info_file( ITAConvolution_BM_UPCFilterComponent )
#set_property( TARGET ITAConvolution_BM_UPCFilterComponent PROPERTY FOLDER "ITACoreLibs/Benchmarks/ITAConvolution" )
add_executable( ITAConvolution_BM_UPConv ITAConvolution_BM_UPConv.cpp )
target_link_libraries( ITAConvolution_BM_UPConv ${VISTA_USE_PACKAGE_LIBRARIES} )
vista_configure_app( ITAConvolution_BM_UPConv )
vista_install( ITAConvolution_BM_UPConv )
vista_create_default_info_file( ITAConvolution_BM_UPConv )
set_property( TARGET ITAConvolution_BM_UPConv PROPERTY FOLDER "ITACoreLibs/Benchmarks/ITAConvolution" )
install (TARGETS ITAConvolution_BM_UPConv RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment