- CMake
- C++ Compiler
- Run cmake with
BUILD_EXAMPLES=ON
- Build target
cpp_api_example
Invoke binary located in the build directory:
$ cpp_api_example path/to/database_file.srctrldb path/to/examples/cpp_api_example/data/example.cpp
Open cpp_api_example.srctrlprj
located in the build directory with Sourcetrail and index the project.