/cpp-harvest

python application to help analyze cpp source code

Primary LanguagePython

python application to help analyze cpp source code

requires

pygccxml can be installed with sudo apt install pygccxml on Ubuntu

quick start

$ python3 main.py examples/tiny/tiny_config.yaml

or

$ python main.py examples/foo/foo_config.yaml

config file examples

foo_config.yaml
tiny_config.yaml

run pygccxml examples

The pygccxml folder contains the pygccxml tutorial examples.
Each some_example.py file has a some_example.hpp data file that is compiled and parsed.
For example to run the declaration.py example:

$ cd pygccxml-examples
$ python3 declaration.py