From 95858d89177fa3d0a0f531137fd9baf0073f3627 Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Gestoso <alopez@iri.upc.edu> Date: Wed, 15 May 2019 14:37:02 +0200 Subject: [PATCH] Moved .h files to include folder. Adapted src/CMakelist.txt to this change --- {src => include}/ptu_commands.h | 0 {src => include}/ptu_d46.h | 0 {src => include}/ptu_d46_exceptions.h | 0 src/CMakeLists.txt | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) rename {src => include}/ptu_commands.h (100%) rename {src => include}/ptu_d46.h (100%) rename {src => include}/ptu_d46_exceptions.h (100%) diff --git a/src/ptu_commands.h b/include/ptu_commands.h similarity index 100% rename from src/ptu_commands.h rename to include/ptu_commands.h diff --git a/src/ptu_d46.h b/include/ptu_d46.h similarity index 100% rename from src/ptu_d46.h rename to include/ptu_d46.h diff --git a/src/ptu_d46_exceptions.h b/include/ptu_d46_exceptions.h similarity index 100% rename from src/ptu_d46_exceptions.h rename to include/ptu_d46_exceptions.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 23006c2..726fd68 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,7 +3,7 @@ ADD_SUBDIRECTORY(xml) # edit the following line to add all the source code files of the library SET(sources ptu_d46.cpp ptu_d46_exceptions.cpp) # edit the following line to add all the header files of the library -SET(headers ptu_d46.h ptu_d46_exceptions.h ptu_commands.h) +SET(headers ../include/ptu_d46.h ../include/ptu_d46_exceptions.h ../include/ptu_commands.h) # edit the following line to find the necessary packages FIND_PACKAGE(iriutils REQUIRED) @@ -11,7 +11,7 @@ FIND_PACKAGE(comm REQUIRED) FIND_PACKAGE(trajectory REQUIRED) # edit the following line to add the necessary include directories -INCLUDE_DIRECTORIES(.) +INCLUDE_DIRECTORIES(. ../include) INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${comm_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${trajectory_INCLUDE_DIR}) -- GitLab