-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·101 lines (75 loc) · 2.47 KB
/
CMakeLists.txt
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# OViSE main
project( OViSE CXX )
SET( OVISE_VERSION_MAJOR 0 )
SET( OVISE_VERSION_MINOR 5 )
SET( OVISE_VERSION_PATCH 0 )
message( STATUS "OViSE version info: ${OVISE_VERSION_MAJOR}.${OVISE_VERSION_MINOR}.${OVISE_VERSION_PATCH}" )
cmake_minimum_required( VERSION 2.8 )
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Scripts/")
set(CMAKE_DEBUG_POSTFIX _D)
set( Boost_ADDITIONAL_VERSIONS "1.44.0" "1.44" )
if( WIN32 )
set( Boost_USE_STATIC_LIBS OFF )
set( Boost_USE_MULTITHREAD ON )
find_package( Boost 1.44 REQUIRED )
else( WIN32 )
find_package( Boost 1.44 REQUIRED COMPONENTS system filesystem serialization signals regex)
endif( WIN32 )
# Ogre
find_package( OGRE 1.7.2 REQUIRED )
# wxWidgets
set( wxWidgets_USE_UNICODE ON )
set( wxWidgets_USE_STATIC ON )
set( wxWidgets_USE_DEBUG OFF )
find_package( wxWidgets 2.9 REQUIRED base core aui propgrid adv )
if( UNIX )
find_package( GTK2 2.10 REQUIRED gtk )
endif( UNIX )
# Plugins (Visualization)
option( PLUGINS_SIMPLE "Build simple mesh plugin" ON )
option( PLUGINS_ROBOT "Build robot plugin" ON )
option( PLUGINS_POINTCLOUD "Build pointcloud plugin" ON )
option( PLUGINS_TRAJECTORY "Build trajectory plugin" ON )
option( PLUGINS_SKELETAL "Build skeletal animated mesh plugin" ON )
option( PLUGINS_VOODOO "Build Voodoo plugin" OFF )
# Plugins (Network)
option( INTERFACES_ILCAS "Build ILCAS interface" ON )
option( INTERFACES_XMLRPC "Build XMLRPC interface" ON )
option( INTERFACES_SHAROME "Build SHAROME interface" OFF )
option( INTERFACES_VOODOO "Build VOODOO interface" OFF )
add_subdirectory( Core )
add_subdirectory( Util )
add_subdirectory( CameraControlSystem )
add_subdirectory( Viewer )
add_subdirectory( Media )
if( PLUGINS_SIMPLE )
add_subdirectory( SimplePlugin )
endif()
if( PLUGINS_ROBOT )
add_subdirectory( RobotPlugin )
endif()
if( PLUGINS_POINTCLOUD )
add_subdirectory( PointcloudPlugin )
endif()
if( PLUGINS_VOODOO )
add_subdirectory( VoodooPlugin )
endif()
if( PLUGINS_TRAJECTORY )
add_subdirectory( TrajectoryPlugin )
endif()
if( PLUGINS_SKELETAL )
add_subdirectory( SkeletalPlugin )
endif()
if( INTERFACES_ILCAS )
add_subdirectory( ILCASInterface )
endif()
if( INTERFACES_XMLRPC)
add_subdirectory( XMLRPCInterface )
endif()
if( INTERFACES_SHAROME )
add_subdirectory( SharomeInterface )
endif()
if( INTERFACES_VOODOO )
add_subdirectory( VoodooInterface )
endif()
install( FILES "OViSE-README.txt" DESTINATION bin )