-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (22 loc) · 1003 Bytes
/
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
# CopyPolicy: released under the terms of the LGPLv2.1, see LICENSE at project root.
# URL: https://github.com/asrob-uc3m/robotDevastation-simulator
cmake_minimum_required(VERSION 3.12)
project(RD_SIMULATOR LANGUAGES NONE)
# Pick up our CMake modules.
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ycm-modules)
# Find this YCM version on system, bootstrap it if not available.
set(YCM_MINIMUM_VERSION 0.12)
#Uses YCM's unmerged ExternalProject.cmake module.
set(YCM_USE_CMAKE_PROPOSED ON)
# Bootstrap YCM. Keep YCM compatible with cmake_minimum_required().
include(YCMBootstrap)
# Superbuild phase.
include(FindOrBuildPackage)
# Pull remote packages if not found on system.
find_or_build_package(ASROB_YARP_DEVICES)
find_or_build_package(RD_OPENRAVE_MODELS)
find_or_build_package(ROBOTICSLAB_OPENRAVE_YARP_PLUGINS)
include(GNUInstallDirs)
install(PROGRAMS scripts/python/rdSim DESTINATION ${CMAKE_INSTALL_BINDIR})
# Configure and create uninstall target.
include(AddUninstallTarget)