CMakeLists.txt 732 Bytes
Newer Older
Jonas Stienen's avatar
Jonas Stienen committed
1
2
3
4
5
6
7
8
9
10
11
12
cmake_minimum_required( VERSION 2.8 )

if( NOT ITABASE_COMMON_BUILD )

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

vista_use_package( ITABase REQUIRED )

13
14
15
if( WIN32 )
	add_definitions( -DITA_BASE_DLL )
endif( WIN32 )
Jonas Stienen's avatar
Jonas Stienen committed
16

17
18
19
if( VFOUND_SNDFILE AND ITA_BASE_WITH_SNDFILE )
	add_executable( SampleBufferTest SampleBufferTest.cpp )
	target_link_libraries( SampleBufferTest ${VISTA_USE_PACKAGE_LIBRARIES} )
Jonas Stienen's avatar
Jonas Stienen committed
20

21
22
23
	vista_configure_app( SampleBufferTest )
	vista_install( SampleBufferTest )
	vista_create_default_info_file( SampleBufferTest )
Jonas Stienen's avatar
Jonas Stienen committed
24

25
26
	set_property( TARGET SampleBufferTest PROPERTY FOLDER "ITATests/ITABase" )
endif( VFOUND_SNDFILE AND ITA_BASE_WITH_SNDFILE )