Skip to content
Snippets Groups Projects
Commit 636f5e5d authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed the iri_ prefix from the library name.

parent 0f50abb7
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ if(COMMAND cmake_policy)
endif(COMMAND cmake_policy)
# The project name and the type of project
PROJECT(iri_autonomous_driving_tools)
SET(PACKAGE_NAME iri-autonomous-driving-tools)
PROJECT(autonomous_driving_tools)
SET(PACKAGE_NAME autonomous-driving-tools)
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib)
......@@ -88,4 +88,4 @@ ELSE(UNIX)
COMMENT "packaging only implemented in unix"
TARGET uninstall
)
ENDIF(UNIX)
\ No newline at end of file
ENDIF(UNIX)
#edit the following line to add the librarie's header files
SET(name iri_autonomous_driving_tools)
SET(name autonomous_driving_tools)
FIND_PATH(${name}_INCLUDE_DIRS gradient.h g2_spline.h dijkstra.h /usr/local/include/iri/${name} /usr/include/iri/${name})
FIND_LIBRARY(${name}_LIBRARIES
......
iri_autonomous_driving_tools {#mainpage}
autonomous_driving_tools {#mainpage}
============
## Description
......@@ -67,15 +67,15 @@ To generate the documentation execute the following command:
To use this library in an other library or application, in the CMakeLists.txt file, first it is necessary to locate if the library has been installed or not using the following command
``` FIND_PACKAGE(iri_autonomous_driving_tools) ```
``` FIND_PACKAGE(autonomous_driving_tools) ```
In the case that the package is present, it is necessary to add the header files directory to the include directory path by using
``` INCLUDE_DIRECTORIES(${iri_autonomous_driving_tools_INCLUDE_DIR}) ```
``` INCLUDE_DIRECTORIES(${autonomous_driving_tools_INCLUDE_DIR}) ```
and it is also necessary to link with the desired libraries by using the following command
``` TARGET_LINK_LIBRARIES(<executable name> ${iri_autonomous_driving_tools_LIBRARY}) ```
``` TARGET_LINK_LIBRARIES(<executable name> ${autonomous_driving_tools_LIBRARY}) ```
## Disclaimer
......
#ifndef _IRI_AUTONOMOUS_DRIVING_TOOLS_H
#define _IRI_AUTONOMOUS_DRIVING_TOOLS_H
class CIri_Autonomous_Driving_Tools
{
public:
CIri_Autonomous_Driving_Tools();
~CIri_Autonomous_Driving_Tools();
};
#endif
#include "iri_autonomous_driving_tools.h"
int main(int argc, char *argv[])
{
}
#include "iri_autonomous_driving_tools.h"
CIri_Autonomous_Driving_Tools::CIri_Autonomous_Driving_Tools()
{
}
CIri_Autonomous_Driving_Tools::~CIri_Autonomous_Driving_Tools()
{
}
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