Skip to content
Snippets Groups Projects
CMakeLists.txt 887 B
cmake_minimum_required(VERSION 3.18)

find_package(ArmarXCore REQUIRED)
include(${ArmarXCore_USE_FILE})

set(ARMARX_ENABLE_DEPENDENCY_VERSION_CHECK_DEFAULT FALSE)

# Project definition.
armarx_enable_modern_cmake_project()  # Temporary until migration of ArmarXCore.
armarx_project(view_selection NAMESPACE armarx)

add_subdirectory(etc)

# Required ArmarX dependencies.
armarx_find_package(PUBLIC RobotAPI REQUIRED)
armarx_find_package(PUBLIC armarx_control REQUIRED)

# Optional ArmarX dependencies.
armarx_find_package(PUBLIC ArmarXGui QUIET)
armarx_find_package(PUBLIC VisionX QUIET)

# Required system dependencies.
# armarx_find_package(PUBLIC OpenCV REQUIRED)

# Optional system dependencies.
# armarx_find_package(PUBLIC PCL QUIET)
armarx_find_package(PUBLIC range-v3 QUIET)

add_subdirectory(source)
add_subdirectory(examples)
add_subdirectory(python)

armarx_install_project()