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

if( NOT ITABASE_COMMON_BUILD )

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

11
vista_use_package( ITABase REQUIRED FIND_DEPENDENCIES )
Jonas Stienen's avatar
Jonas Stienen committed
12
13


14
15
add_executable( SampleBufferTest SampleBufferTest.cpp )
target_link_libraries( SampleBufferTest ${VISTA_USE_PACKAGE_LIBRARIES} )
Jonas Stienen's avatar
Jonas Stienen committed
16

17
18
19
vista_configure_app( SampleBufferTest )
vista_install( SampleBufferTest )
vista_create_default_info_file( SampleBufferTest )
Jonas Stienen's avatar
Jonas Stienen committed
20

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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" )
	
endif( ITA_BASE_WITH_SNDFILE )