Forrest logo
back to the cppclean tool

cppclean:tldr:7eaea

cppclean: Run on a project where the headers are in the `inc1/` and `inc2/` directories.
$ cppclean ${path-to-project} --include-path=${inc1} --include-path=${inc2}
try on your machine

The command cppclean is being executed with the following arguments:

  1. ${path-to-project}: This is a placeholder that should be replaced with the path to the project directory that you want to analyze using cppclean. It specifies the location of the project's source code.

  2. --include-path=${inc1}: This argument sets an include path for cppclean to search for additional header files. ${inc1} is another placeholder that should be replaced with the actual path to the first include directory you want to add.

  3. --include-path=${inc2}: Similarly, this argument adds a second include path for cppclean to search for header files. ${inc2} should be replaced with the path to the second include directory you want to use.

By supplying the appropriate values for ${path-to-project}, ${inc1}, and ${inc2}, you would be able to run cppclean on your project, specifying any additional include paths that are required for the analysis.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the cppclean tool