-
Notifications
You must be signed in to change notification settings - Fork 9
/
CMakeLists.txt
43 lines (28 loc) · 1.39 KB
/
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
33
34
35
36
37
38
39
40
41
# Copyright: (C) 2015 Vislab Laboratory - Instituto de Sistemas e Robotica - Instituto Superior Tecnico
# Authors: Plinio Moreno
# CopyPolicy: Released under the terms of the GNU GPL v2.0.
cmake_minimum_required(VERSION 2.8.9)
project(vizzyYarpIcub)
find_package(YARP REQUIRED)
find_package(ICUB REQUIRED)
#message("#debug ${PROJECT_BINARY_DIR}")
include_directories(${PROJECT_BINARY_DIR}/yarpidl_rosmsg_files)
list(APPEND CMAKE_MODULE_PATH ${YARP_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${ICUB_MODULE_PATH})
include(YarpInstallationHelpers)
include(iCubHelpers)
set(CMAKE_BUILD_TYPE "Debug")
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
set(YARP_ROS_IDL_MSG_DIR ${PROJECT_BINARY_DIR}/yarpidl_rosmsg_files)
file(MAKE_DIRECTORY ${YARP_ROS_IDL_MSG_DIR})
execute_process(COMMAND yarpidl_rosmsg TactSensorArray WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/yarpidl_rosmsg_files")
execute_process(COMMAND yarpidl_rosmsg Int16 WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/yarpidl_rosmsg_files")
execute_process(COMMAND yarpidl_rosmsg vizzy_msgs/GazeActionGoal WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/yarpidl_rosmsg_files")
add_subdirectory(app)
add_subdirectory(src)
#message(${YARP_MODULES_INSTALL_DIR})
#message(${YARP_CONFIG_INSTALL_DIR})
#message(${YARP_CONTEXTS_INSTALL_DIR})