From 907a86e6853e5267f75196a2cd6c838c743eeab2 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Fri, 30 Aug 2019 12:55:37 +0200
Subject: [PATCH] Moved .h files to include folder. Adapted CMakeLists.txt file
 to this change.

---
 {src => include}/bumblebee.h          | 0
 {src => include}/firewirecamera.h     | 0
 {src => include}/firewireexceptions.h | 0
 {src => include}/firewireserver.h     | 0
 {src => include}/ladybug.h            | 0
 {src => include}/ptg_camera.h         | 0
 src/CMakeLists.txt                    | 4 ++--
 7 files changed, 2 insertions(+), 2 deletions(-)
 rename {src => include}/bumblebee.h (100%)
 rename {src => include}/firewirecamera.h (100%)
 rename {src => include}/firewireexceptions.h (100%)
 rename {src => include}/firewireserver.h (100%)
 rename {src => include}/ladybug.h (100%)
 rename {src => include}/ptg_camera.h (100%)

diff --git a/src/bumblebee.h b/include/bumblebee.h
similarity index 100%
rename from src/bumblebee.h
rename to include/bumblebee.h
diff --git a/src/firewirecamera.h b/include/firewirecamera.h
similarity index 100%
rename from src/firewirecamera.h
rename to include/firewirecamera.h
diff --git a/src/firewireexceptions.h b/include/firewireexceptions.h
similarity index 100%
rename from src/firewireexceptions.h
rename to include/firewireexceptions.h
diff --git a/src/firewireserver.h b/include/firewireserver.h
similarity index 100%
rename from src/firewireserver.h
rename to include/firewireserver.h
diff --git a/src/ladybug.h b/include/ladybug.h
similarity index 100%
rename from src/ladybug.h
rename to include/ladybug.h
diff --git a/src/ptg_camera.h b/include/ptg_camera.h
similarity index 100%
rename from src/ptg_camera.h
rename to include/ptg_camera.h
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ff87686..ac56995 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
 # edit the following line to add the source code of the application
 SET(sources firewirecamera.cpp firewireserver.cpp firewireexceptions.cpp ptg_camera.cpp bumblebee.cpp ladybug.cpp)
 # edit the following line to add the header files of the application
-SET(headers firewirecamera.h firewireserver.h firewireexceptions.h ptg_camera.h bumblebee.h ladybug.h)
+SET(headers ../include/firewirecamera.h ../include/firewireserver.h ../include/firewireexceptions.h ../include/ptg_camera.h ../include/bumblebee.h ../include/ladybug.h)
 
 #find the cv support and set HAVE_OPENCV_H for the conditional compilation
 FIND_PACKAGE(OpenCV)
@@ -40,7 +40,7 @@ ENDIF (raw1394_INCLUDE_DIRS AND raw1394_LIBRARIES AND dc1394_INCLUDE_DIRS AND dc
 IF (firewire_camera_ready)
    MESSAGE(STATUS "The system is libdc 2.0 capable")
    # add all the necessary include directories (project_name_INDLUDE_DIR)
-   INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR} ${dc1394_INCLUDE_DIRS} ${raw1394_INCLUDE_DIRS} .)
+   INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR} ${dc1394_INCLUDE_DIRS} ${raw1394_INCLUDE_DIRS} ../include/)
 
    ADD_LIBRARY(firewire_camera SHARED ${sources})
 
-- 
GitLab