forked from Servicerobotics-Ulm/ComponentRepository
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
24 lines (21 loc) · 943 Bytes
/
CMakeLists.txt
File metadata and controls
24 lines (21 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
find_package(Git QUIET)
if(GIT_FOUND AND EXISTS "$ENV{SMART_PACKAGE_PATH}/ComponentRepository/.git")
execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
RESULT_VARIABLE GIT_SUBMOD_RESULT)
if(NOT GIT_SUBMOD_RESULT EQUAL "0")
message(FATAL_ERROR "git submodule update --init failed, please checkout submodules manually")
endif()
endif()
FIND_FILE(SMART_MACROS SmartMacros2.cmake PATHS $ENV{SMART_ROOT_ACE}/CMakeMacros /opt/smartSoftAce/CMakeMacros)
INCLUDE(${SMART_MACROS})
SMART_ADD_PACKAGE(ComponentKB)
SMART_ADD_PACKAGE(ComponentTCLSequencer)
SMART_ADD_PACKAGE(AROSYS-Components)
SMART_ADD_PACKAGE(MIRON-Components)
SMART_ADD_PACKAGE(SmartAmcl)
SMART_ADD_PACKAGE(SmartCdlServer)
SMART_ADD_PACKAGE(SmartMapperGridMap)
SMART_ADD_PACKAGE(SmartPlannerBreadthFirstSearch)
SMART_ADD_PACKAGE(SmartJoystickNavigation)
SMART_ADD_PACKAGE(SmartJoystickServer)