CMakeLists.txt 1.47 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
8
9

vista_use_package( VACore REQUIRED FIND_DEPENDENCIES )


10
11
12
13
14
15
16
17
18
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" )

19
20
21
22
23
24
25
26

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 )

27
set_property( TARGET MotionModelTest PROPERTY FOLDER "VA/Tests/VACore" )
28
29
30
31
32
33
34
35
36


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 )

37
set_property( TARGET SceneConfigTest PROPERTY FOLDER "VA/Tests/VACore" )
38
39
40
41
42
43
44
45
46
47


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

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

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