Skip to content
Snippets Groups Projects
Commit f7adce26 authored by acoromin's avatar acoromin
Browse files

Updating install paths and includes

parent f74b99ab
No related branches found
No related tags found
No related merge requests found
#edit the following line to add the librarie's header files
FIND_PATH(
laser_scan_utils_INCLUDE_DIRS
NAMES corner_detector.h entities.h line_fitting.h scan_basics.h types_laser_scan_utils.h clustering.h object_detector.h
PATHS /usr/local/include/iri-algorithms/laser_scan_utils
NAMES laser_scan_utils.h
PATHS /usr/local/include/iri-algorithms
)
FIND_LIBRARY(
laser_scan_utils_LIBRARY
NAMES laser_scan_utils
PATHS /usr/lib /usr/local/lib /usr/local/lib/iri-algorithms/laser_scan_utils)
PATHS /usr/lib /usr/local/lib /usr/local/lib/iri-algorithms)
IF (laser_scan_utils_INCLUDE_DIRS AND laser_scan_utils_LIBRARY)
SET(laser_scan_utils_FOUND TRUE)
......
......@@ -20,12 +20,14 @@ IF(faramotics_FOUND)
ENDIF(faramotics_FOUND)
#headers
SET(HDRS_BASE
laser_scan_utils.h)
SET(HDRS
corner_detector.h
entities.h
line_detector.h
scan_basics.h
types_laser_scan_utils.h
clustering.h
object_detector.h)
......@@ -44,10 +46,12 @@ ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
#install library
INSTALL(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri-algorithms/laser_scan_utils
ARCHIVE DESTINATION lib/iri-algorithms/laser_scan_utils)
LIBRARY DESTINATION lib/iri-algorithms
ARCHIVE DESTINATION lib/iri-algorithms)
#install headers
INSTALL(FILES ${HDRS_BASE}
DESTINATION include/iri-algorithms)
INSTALL(FILES ${HDRS}
DESTINATION include/iri-algorithms/laser_scan_utils)
......
......@@ -2,7 +2,7 @@
#define CLUSTERING_H
//laserscanutils
#include "types_laser_scan_utils.h"
#include "laser_scan_utils.h"
#include "entities.h"
#include "scan_basics.h"
#include "corner_detector.h"
......
......@@ -12,7 +12,7 @@
#include <eigen3/Eigen/Geometry>
//laserscanutils
#include "types_laser_scan_utils.h"
#include "laser_scan_utils.h"
#include "scan_basics.h"
#include "entities.h"
#include "line_detector.h"
......
......@@ -3,7 +3,7 @@
#define ENTITIES_H_
//laserscanutils
#include "types_laser_scan_utils.h"
#include "laser_scan_utils.h"
#include <iostream>
#include <list>
......
File moved
......@@ -3,7 +3,7 @@
#define LINE_DETECTOR_H_
//laserscanutils
#include "types_laser_scan_utils.h"
#include "laser_scan_utils.h"
#include "entities.h"
#include "scan_basics.h"
......
......@@ -11,7 +11,7 @@
#include <eigen3/Eigen/Geometry>
//laserscanutils
#include "types_laser_scan_utils.h"
#include "laser_scan_utils.h"
#include "entities.h"
#include "scan_basics.h"
#include "line_detector.h"
......
......@@ -9,7 +9,7 @@
#include <list>
//laserscanutils
#include "types_laser_scan_utils.h"
#include "laser_scan_utils.h"
namespace laserscanutils
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment