CMakeLists.txt 1.04 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cmake_minimum_required( VERSION 2.8 )

if( NOT VACORE_COMMON_BUILD )

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

vista_use_package( VACore REQUIRED FIND_DEPENDENCIES )


if( ITA_VA_BUILD_STATIC AND DEFINED ITA_VA_BUILD_STATIC )
	add_definitions( -DVABASE_STATIC -DVACORE_STATIC )
endif( ITA_VA_BUILD_STATIC AND DEFINED ITA_VA_BUILD_STATIC  )


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

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

set_property( TARGET MotionModelTest PROPERTY FOLDER "ITATests/VACore" )


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

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

set_property( TARGET SceneConfigTest PROPERTY FOLDER "ITATests/VACore" )