From 9dd9a453892136e7558ae6af12c32fc8fb4889cd Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Gestoso <alopez@iri.upc.edu> Date: Wed, 29 May 2019 11:45:57 +0200 Subject: [PATCH] Moved .h files to include folder. Adapted CMakeLists.txt file to this change. --- {src => include}/dynamixel_motor.h | 0 {src => include}/dynamixel_motor_exceptions.h | 0 {src => include}/dynamixel_motor_group.h | 0 {src => include}/dynamixel_registers.h | 0 src/CMakeLists.txt | 4 +++- 5 files changed, 3 insertions(+), 1 deletion(-) rename {src => include}/dynamixel_motor.h (100%) rename {src => include}/dynamixel_motor_exceptions.h (100%) rename {src => include}/dynamixel_motor_group.h (100%) rename {src => include}/dynamixel_registers.h (100%) diff --git a/src/dynamixel_motor.h b/include/dynamixel_motor.h similarity index 100% rename from src/dynamixel_motor.h rename to include/dynamixel_motor.h diff --git a/src/dynamixel_motor_exceptions.h b/include/dynamixel_motor_exceptions.h similarity index 100% rename from src/dynamixel_motor_exceptions.h rename to include/dynamixel_motor_exceptions.h diff --git a/src/dynamixel_motor_group.h b/include/dynamixel_motor_group.h similarity index 100% rename from src/dynamixel_motor_group.h rename to include/dynamixel_motor_group.h diff --git a/src/dynamixel_registers.h b/include/dynamixel_registers.h similarity index 100% rename from src/dynamixel_registers.h rename to include/dynamixel_registers.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1e8d99d..42f47f7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,7 +3,9 @@ ADD_SUBDIRECTORY(xml) # edit the following line to add all the source code files of the library SET(sources dynamixel_motor.cpp dynamixel_motor_group.cpp dynamixel_registers.cpp dynamixel_motor_exceptions.cpp) # edit the following line to add all the header files of the library -SET(headers dynamixel_motor.h dynamixel_motor_group.h dynamixel_registers.h dynamixel_motor_exceptions.h) +SET(headers ../include/dynamixel_motor.h ../include/dynamixel_motor_group.h ../include/dynamixel_registers.h ../include/dynamixel_motor_exceptions.h) + +INCLUDE_DIRECTORIES(../include) FIND_PACKAGE(iriutils REQUIRED) -- GitLab