Skip to content

RobMarion/cpp_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

cpp_finder

Author: R. Marion

To use:

python cpp_finder_3.py {directory name} [-o {output file name}]
The output is in json, so you might want to give the file a .json extension

Notes:

This is in early draft state.
This does a decent job of parsing a directory for 3rd-party C++ in a code base. It looks for several package types, including CMake and Conan. It will also look for #include within files. This does not do transitive dependencies.
I used AI for the regex stuff. Thanks AI!

TODO

Most TODO notes are in the source. But

  1. create a hash library of the top n C++ projects to improve version detection
  2. and create an SBOM-able output
  3. and ... there is a transitive dependency strategy ... more to come

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages