-
Notifications
You must be signed in to change notification settings - Fork 5
/
README
28 lines (22 loc) · 1.09 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This project is mainly designed as a format library for our
serial and distributed projects that involve RIVER: Cardinal[1] and simpletracer[2].
If you want to use it outside these projects, follow the following
instructions:
In order to build and install the river.format library,
integrate it into the cmake project that will use the library
following the below guideline.
In the root CMakeLists.txt file, before the line
that builds your executables / libraries, add the
following lines:
add_subdirectory(river.format/logger)
add_subdirectory(river.format/format.handler)
These will build two static libraries,
liblogger.a and libformat.handler.a. In order to link
these objects you need to use:
target_link_libraries(TARGET logger format.handler)
river.format can also be used inside a gyp project. The necessary
configuration requires only one simple change to `main` package.json
file. More specific, the "dependencies" json requires the following
element: "river.format" : "file:./river.format"
[1] https://github.com/teodor-stoenescu/simpletracer
[2] https://github.com/teodor-stoenescu/distributed.tracer