CMakeLists.txt 962 Bytes
Newer Older
Jonas Stienen's avatar
Jonas Stienen committed
1 2
cmake_minimum_required( VERSION 2.8 )

3 4 5
project( ITABaseTests )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
Jonas Stienen's avatar
Jonas Stienen committed
6 7


8
vista_use_package( ITABase REQUIRED FIND_DEPENDENCIES )
Jonas Stienen's avatar
Jonas Stienen committed
9 10


11 12
add_executable( SampleBufferTest SampleBufferTest.cpp )
target_link_libraries( SampleBufferTest ${VISTA_USE_PACKAGE_LIBRARIES} )
Jonas Stienen's avatar
Jonas Stienen committed
13

14 15 16
vista_configure_app( SampleBufferTest )
vista_install( SampleBufferTest )
vista_create_default_info_file( SampleBufferTest )
Jonas Stienen's avatar
Jonas Stienen committed
17

18 19 20 21 22 23 24 25 26 27 28 29 30 31
set_property( TARGET SampleBufferTest PROPERTY FOLDER "ITACoreLibs/Tests/ITABase" )


if( ITA_BASE_WITH_SNDFILE )

	add_executable( SampleFrameTest SampleFrameTest.cpp )
	target_link_libraries( SampleFrameTest ${VISTA_USE_PACKAGE_LIBRARIES} )

	vista_configure_app( SampleFrameTest )
	vista_install( SampleFrameTest )
	vista_create_default_info_file( SampleFrameTest )

	set_property( TARGET SampleFrameTest PROPERTY FOLDER "ITACoreLibs/Tests/ITABase" )
	
32
endif( )
33 34 35


add_subdirectory( "VistaTests" )