CMakeLists.txt 1.31 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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  )

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

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

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

27
28
29
30
31
32
33
34

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 )

35
set_property( TARGET MotionModelTest PROPERTY FOLDER "VA/Tests/VACore" )
36
37
38
39
40
41
42
43
44


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 )

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