Newer
Older
cmake_minimum_required(VERSION 3.18)
set(ARMARX_ENABLE_DEPENDENCY_VERSION_CHECK_DEFAULT FALSE)
include(${ArmarXCore_USE_FILE})
# Name for the project
armarx_enable_modern_cmake_project()
armarx_project(navigation NAMESPACE armarx)
# Specify each ArmarX Package dependency with the following macro
# - required
# - optional
armarx_find_package(PUBLIC armarx::control)
armarx_find_package(PUBLIC ArmarXGui)
armarx_find_package(PUBLIC MemoryX QUIET)
armarx_find_package(PUBLIC VisionX QUIET)
# System dependencies
# - required
# - optional
armarx_find_package(PUBLIC OpenMP QUIET)
armarx_find_package(PUBLIC Ceres QUIET)
armarx_find_package(PUBLIC VTK QUIET)

Rainer Kartmann
committed
armarx_find_package(PUBLIC OpenCV QUIET) # Required as RobotAPI is a legacy project.
armarx_find_package(PUBLIC range-v3 QUIET)
# human aware navigation
armarx_find_package(PUBLIC teb_local_planner QUIET)
armarx_find_package(PUBLIC teb_extension QUIET)
add_subdirectory(etc)
# FetchContent_Declare(
# inotify_cpp
# GIT_REPOSITORY https://github.com/erikzenker/inotify-cpp.git
# GIT_TAG v1.0.0
# )
# FetchContent_MakeAvailable(inotify_cpp)
add_definitions(-Werror=init-self)
add_definitions(-Werror=uninitialized)
add_definitions(-Werror=missing-field-initializers)
add_definitions(-Werror=reorder)
add_definitions(-Werror=narrowing)