CMakeLists.txt 902 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required( VERSION 2.8 )

project( ita_convoi )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )

vista_use_package( ITAConvolution REQUIRED FIND_DEPENDENCIES )
vista_use_package( ITADataSources REQUIRED FIND_DEPENDENCIES )
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaTools FIND_DEPENDENCIES )

if( NOT ITA_CORE_LIBS_BUILD_STATIC )
	add_definitions( -DITA_BASE_STATIC -DITA_FFT_STATIC -DITA_CONVOLUTION_STATIC -DITA_DATA_SOURCES_STATIC )
endif( )

add_executable( ita_convoi "ita_convoi.cpp" )
target_link_libraries( ita_convoi ${VISTA_USE_PACKAGE_LIBRARIES} )

vista_configure_app( ita_convoi )
vista_install( ita_convoi )
vista_create_default_info_file( ita_convoi )

set_property( TARGET ita_convoi PROPERTY FOLDER "ITACoreLibs/Apps/ITAConvolution" )

vista_set_target_msvc_arguments( ita_convoi "ita_demosound.wav" "unequal_dirac.wav" )