@@ -57,6 +57,7 @@ This package requires of the following system libraries and packages
* [cmake](https://www.cmake.org "CMake's Homepage"), a cross-platform build system.
* [doxygen](http://www.doxygen.org "Doxygen's Homepage") and [graphviz](http://www.graphviz.org "Graphviz's Homepage") to generate the documentation.
* [XSD](http://wiki.codesynthesis.com/XSD "XSD wiki main page") to enable XML support.
* stdc++.
Under linux all of these utilities are available in ready-to-use packages.
...
...
@@ -86,7 +87,7 @@ The RELEASE build mode optimizes for speed. To build in this mode execute instea
The release mode will be kept until next time cmake is executed.
``` make ```
``` make -j $(nproc)```
In case no errors are reported, the generated libraries (if any) will be located at the
_lib_ folder and the executables (if any) will be located at the _bin_ folder.
...
...
@@ -97,8 +98,9 @@ To do that, execute
``` make install ```
as root and the shared libraries will be copied to */usr/local/lib/iri/ptu_d46* directory
and the header files will be copied to */usr/local/include/iri/ptu_d46* dierctory. At
this point, the library may be used by any user.
and the header files will be copied to */usr/local/include/iri/ptu_d46* dierctory. If the
support for XML file is enabled, all the necessary files will be copied to */usr/local/include/iri/ptu_d46/xml*.
At this point, the library may be used by any user.
To remove the library from the system, exceute
...
...
@@ -114,15 +116,22 @@ 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(<libraryname>) ```
``` FIND_PACKAGE(ptu_d46) ```
In the case that the package is present, it is necessary to add the header files directory to the include directory path by using