cmake_minimum_required(VERSION 3.19.8)
set(WORKSPACE_DIR ${CMAKE_SOURCE_DIR}/../.. CACHE PATH "root of the PID workspace directory")
list(APPEND CMAKE_MODULE_PATH ${WORKSPACE_DIR}/cmake) # using generic scripts/modules of the workspace
include(Package_Definition NO_POLICY_SCOPE)

project(ciborg-shadowhand-control)

PID_Package(
    AUTHOR             Robin Passama
    INSTITUTION        CNRS/LIRMM
    EMAIL              robin.passama@lirmm.fr
    ADDRESS            git@gite.lirmm.fr:ciborg/ciborg-shadowhand-control.git
    YEAR               2024
    LICENSE            CeCILL-C
    CODE_STYLE         pid11
    DESCRIPTION        "CIBORG project final demon: controlling the shadow hand finger from UDP socket"
    CONTRIBUTION_SPACE ciborg
    VERSION            0.2.0
)

PID_Dependency(shadow-hand VERSION 1.0)
PID_Dependency(pid-os-utilities VERSION 3.2)
PID_Dependency(pid-network-utilities VERSION 3.3)
PID_Dependency(pid-threading VERSION 0.9)
PID_Dependency(ethercatcpp-core VERSION 2.2)
PID_Dependency(pid-rpath VERSION 2.2)
PID_Dependency(yaml-cpp FROM VERSION 0.6.2)
PID_Dependency(cli11)

build_PID_Package()
