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 23006c2b828dbd6e5d2d5acfddbfbd2f534b905b..726fd68842e54a0a9ded9dab63935d39ad878dad 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})