32 lines
846 B
Markdown
32 lines
846 B
Markdown
# The Cyberida State Machine C++ Library
|
|
|
|
The C++ library for processing CyberiadaML - the version of GraphML for storing state machine graphs
|
|
used by the Cyberiada Project, the Berloga Project games and the Orbita Simulator.
|
|
|
|
This is C++ wrapper interface to the libcyberiadaml C library.
|
|
|
|
The code is distributed under the Lesser GNU Public License (version 3), the documentation -- under
|
|
the GNU Free Documentation License (version 1.3).
|
|
|
|
## Requirements
|
|
|
|
* libcyberidaml
|
|
* libstdc++
|
|
* cmake (version 3.12+)
|
|
|
|
## Installation
|
|
|
|
Create `build` directory: `mkdir build && cd build`
|
|
|
|
Run `cmake ..` to build the library binaries and the test program.
|
|
|
|
Run `make install` to install the library.
|
|
|
|
Use CMake parameters to change the build type / installation prefix / etc.
|
|
|
|
## Testing
|
|
|
|
`cd build`
|
|
|
|
Run `run-tests.sh` to build and process the tests.
|