Forrest logo
back to the cppclean tool

cppclean:tldr:6f93a

cppclean: Run on the current directory, excluding the "build" directory.
$ cppclean ${-} --exclude=${build}
try on your machine

This command is calling the "cppclean" tool with certain options and arguments. Here is a breakdown of the different parts:

  • "cppclean": This is the command being executed, it refers to the "cppclean" tool or binary.
  • "${-}": The "-e" option is used to specify the location of the build folder to exclude from the analysis. The "${build}" variable likely holds the path to the build folder.
  • "--exclude=${build}": The "--exclude" option specifies that the build folder (stored in the "${build}" variable) should be excluded from the analysis performed by "cppclean". This means that the tool will not analyze the files or directories within the build folder.

Overall, this command is running the "cppclean" tool to analyze C++ code, but excluding the build folder to focus only on the source code.

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