CMakeLists.txt 853 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 ITASTREAMING_COMMON_BUILD )

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

vista_use_package( ITAStreaming REQUIRED FIND_DEPENDENCIES )

13
14
15
16
17

if( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
	add_definitions( -DITA_STREAMING_STATIC -DITA_BASE_STATIC )
endif( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC  )

Jonas Stienen's avatar
Jonas Stienen committed
18
19
20
21
22
23
24
25
26

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

vista_configure_app( StreamingComponentTest )
vista_install( StreamingComponentTest )
vista_create_default_info_file( StreamingComponentTest )

set_property( TARGET StreamingComponentTest PROPERTY FOLDER "ITATests/ITAStreaming" )