This is a library that implements important generic Data Structures and algorithms.
The structure of this library is:
Directory | Description |
---|---|
include | Contains all the header files. |
src | Contains all the source files (implementations declared in headers. |
samples | Contains some demos with the usage of the differents developed abstractions. |
tests | Contains some tests of the differents developed abstractions. |
obj | In this directory will be created all the objects files when you compile the library. |
lib | When you compile the library, in this directory will be added the file libDesignar.a. |
-
Requirements
- cmake
-
Compiling and installing the library
$ mkdir build $ cd build $ cmake .. $ make $ make install
-
Running tests
$ make test
After this, the static library libDesignar.a
is located in the directory lib
,
the executable samples are located in the directory samples/bin
, and the
executable tests are located in the directory tests/bin
.