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 ff87686adfdae79501f2191700e5ff6e7c761c63..ac56995acf0457ca1dba2f71fac210c9fdaafb4e 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})