Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Latest commit

 

History

History

cpp_api_example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

C++ API Example

Requirements

  • CMake
  • C++ Compiler

Building

  • Run cmake with BUILD_EXAMPLES=ON
  • Build target cpp_api_example

Running from Command Line

Invoke binary located in the build directory:

$ cpp_api_example path/to/database_file.srctrldb path/to/examples/cpp_api_example/data/example.cpp

Running with Sourcetrail

Open cpp_api_example.srctrlprj located in the build directory with Sourcetrail and index the project.