CMakeLists.txt 2.86 KB
Newer Older
1 2
cmake_minimum_required( VERSION 2.8 )

3 4 5
project( VACoreTest )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
6

7
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaBase )
8 9
vista_use_package( VACore REQUIRED FIND_DEPENDENCIES )

10 11 12 13 14 15
if( ITA_VISTA_BUILD_STATIC )
	add_definitions( -DVISTABASE_STATIC )
	if( WIN32 )
		set( VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES Ws2_32 )
	endif( WIN32 )
endif( )
16

17
add_executable( CoreTest CoreTest.cpp )
18
target_link_libraries( CoreTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
19 20 21 22 23 24 25

vista_configure_app( CoreTest )
vista_install( CoreTest )
vista_create_default_info_file( CoreTest )

set_property( TARGET CoreTest PROPERTY FOLDER "VA/Tests/VACore" )

26 27

add_executable( MotionModelTest MotionModelTest.cpp )
28
target_link_libraries( MotionModelTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
29 30 31 32 33

vista_configure_app( MotionModelTest )
vista_install( MotionModelTest )
vista_create_default_info_file( MotionModelTest )

34
set_property( TARGET MotionModelTest PROPERTY FOLDER "VA/Tests/VACore" )
35 36 37


add_executable( SceneConfigTest SceneConfigTest.cpp )
38
target_link_libraries( SceneConfigTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
39 40 41 42 43

vista_configure_app( SceneConfigTest )
vista_install( SceneConfigTest )
vista_create_default_info_file( SceneConfigTest )

44
set_property( TARGET SceneConfigTest PROPERTY FOLDER "VA/Tests/VACore" )
45 46 47


add_executable( GenericPathRendererTest GenericPathRendererTest.cpp )
48
target_link_libraries( GenericPathRendererTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
49 50 51 52 53 54

vista_configure_app( GenericPathRendererTest )
vista_install( GenericPathRendererTest )
vista_create_default_info_file( GenericPathRendererTest )

set_property( TARGET GenericPathRendererTest PROPERTY FOLDER "VA/Tests/VACore" )
55 56 57


add_executable( NetworkStreamAudioSignalSourceTest NetworkStreamAudioSignalSourceTest.cpp )
58
target_link_libraries( NetworkStreamAudioSignalSourceTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )
59 60 61 62 63

vista_configure_app( NetworkStreamAudioSignalSourceTest )
vista_install( NetworkStreamAudioSignalSourceTest )
vista_create_default_info_file( NetworkStreamAudioSignalSourceTest )

64 65 66 67 68 69 70 71 72 73 74
set_property( TARGET NetworkStreamAudioSignalSourceTest PROPERTY FOLDER "VA/Tests/VACore" )


add_executable( OfflineSimulationVirtualDeviceTest OfflineSimulationVirtualDeviceTest.cpp )
target_link_libraries( OfflineSimulationVirtualDeviceTest ${VISTA_USE_PACKAGE_LIBRARIES} ${VISTAINTERPROCCOMM_ADDITIONAL_DEPENDENCIES} )

vista_configure_app( OfflineSimulationVirtualDeviceTest )
#vista_install( OfflineSimulationVirtualDeviceTest )
#vista_create_default_info_file( OfflineSimulationVirtualDeviceTest )

set_property( TARGET OfflineSimulationVirtualDeviceTest PROPERTY FOLDER "VA/Tests/VACore" )