
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
|logo|
.. image:: https://travis-ci.org/rakhimov/cppdep.svg?branch=master :target: https://travis-ci.org/rakhimov/cppdep .. image:: https://ci.appveyor.com/api/projects/status/1ff39sfjp7ija3j8/branch/master?svg=true :target: https://ci.appveyor.com/project/rakhimov/cppdep/branch/master :alt: 'Build status' .. image:: https://codecov.io/gh/rakhimov/cppdep/branch/master/graph/badge.svg :target: https://codecov.io/gh/rakhimov/cppdep .. image:: https://landscape.io/github/rakhimov/cppdep/master/landscape.svg?style=flat :target: https://landscape.io/github/rakhimov/cppdep/master :alt: Code Health .. image:: https://badge.fury.io/py/cppdep.svg :target: https://badge.fury.io/py/cppdep
|
cppdep
performs dependency analysis
among components/packages/package groups of a large C/C++ project.
This is a rewrite of dep_utils(adep/cdep/ldep)
,
which is provided by John Lakos' book
"Large-Scale C++ Software Design", Addison Wesley (1996).
.. |logo| image:: logo.png
extern
declarations of global variables or functions
instead of including the proper component header with the declarations.#. Python 2.7 or 3.4+
#. NetworkX <http://networkx.lanl.gov/>
_
#. pydot
#. pydotplus
#. PyYAML
#. PyKwalify 1.6.0+
The dependencies can be installed with pip
.
.. code-block:: bash
$ sudo pip install -r requirements.txt
From the source:
.. code-block:: bash
$ ./setup.py install
The latest stable release from PyPi:
.. code-block:: bash
$ pip install cppdep
Create a configuration file
that describes the project for analysis.
config_schema.yml
is given for guidance.
In the root directory of the project with the configuration file, run the following command to generate dependency analysis reports and graphs.
.. code-block:: bash
$ cppdep -c /path/to/config/file
More documentation and example configurations
can be found in project wiki <https://github.com/rakhimov/cppdep/wiki>
_.
dep_utils
.Zhichang Yu <https://github.com/yuzhichang>
_ for rewriting dep_utils
into Python.FAQs
Dependency analyzer for C/C++ projects
We found that cppdep demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.