From e963f2e7846f500f621355ac2a460f98a56f07ba Mon Sep 17 00:00:00 2001 From: Sergi Hernandez <shernand@iri103.users.iri.prv> Date: Fri, 6 May 2016 10:02:33 +0200 Subject: [PATCH] Added a variable with the path to the main file. --- bioloid_controller_cm510/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bioloid_controller_cm510/CMakeLists.txt b/bioloid_controller_cm510/CMakeLists.txt index fa6bf39..6329797 100644 --- a/bioloid_controller_cm510/CMakeLists.txt +++ b/bioloid_controller_cm510/CMakeLists.txt @@ -1,3 +1,4 @@ + cmake_minimum_required(VERSION 2.8.3) project(bioloid_controller_cm510) @@ -90,6 +91,7 @@ catkin_package( ########### SET(BIOLOID_FW_PATH ~/humanoids/cm510_controller_fw) +SET (ProjectPath ~/Desktop/Laia/new_fw) ## Specify additional locations of header files ## Your package locations should be listed before other locations @@ -124,7 +126,7 @@ add_library(${PROJECT_NAME} src/bioloid_controller_cm510.cpp ${BIOLOID_FW_PATH}/communications/src/dynamixel.c ${BIOLOID_FW_PATH}/communications/src/serial_console.c # main application module - ${BIOLOID_FW_PATH}/motion/src/examples/walk_straight.c + ${ProjectPath}/Compass/main.c # AVR simulation modules src/sim/avr_delay.c src/sim/avr_registers.c -- GitLab