BuildMonitorThere are a lot of managed C/C++ build systems like Makefile, CMake, SCon and Visual Studio. To perform the analysis CppDepend needs all the data concerning the compilation and the link commands. The Build Monitor intercept them from your build command in order to generate a build file specification.
How To Use the BuildMonitor tool?
- Intercept commands from the command line:
To generate a build file specification of your build process, you have to execute the following command:
BuildMonitor -o yourbuild.build build-command
For example if you build your project like this:
You have just to replace it by the following one:
Notice that for Windows OS 64 bit, use BuildMonitor64.exe instead of BuildMonitor.exe.
- Intercept commands from the IDE:
For Windows You can also use -v switch to interecept build command from visual editors, for example if you run this command:
BuildMonitor -o yourbuild.build -v devenv
Every build started from the launched Visual Studio will be interecepted.
CppDepend supports gcc, Clang and Microsoft compiler.
To treat other compilers you can configure them from the "Compiler Configuration Panel" ( Tools->Options>Compilation Configuration)
If the compiler configuration is not sufficient to have a valid result, please contact us at email@example.com.