25 lines
491 B
Markdown
25 lines
491 B
Markdown
|
|
## Poetry Indexer Example
|
|
|
|
### Requirements
|
|
|
|
* CMake
|
|
* C++ Compiler
|
|
|
|
### Building
|
|
|
|
* Run cmake with `BUILD_EXAMPLES=ON`
|
|
* Build target `poetry_indexer`
|
|
|
|
### Running from Command Line
|
|
|
|
Invoke binary located in the build directory:
|
|
|
|
```
|
|
$ poetry_indexer path/to/database_file.srctrldb path/to/examples/cpp_poetry_indexer/data/e_e_cummings_-_in_just-.txt
|
|
```
|
|
|
|
### Running with Sourcetrail
|
|
|
|
Open `poetry_indexer.srctrlprj` located in the build directory with Sourcetrail and index the project.
|