![]() |
OpenMake Meister |
The CDT relies on executing a build command, receiving the output from the build command and parsing that output according to the type of compiler and linker (“Tool Chain”) used. If there are errors identified in the parsing of the output, line numbers are obtained from that output and the source code editor document is updated with graphical problem markers (red error indicators) at the indicated lines.
With current configuration options available, it is not feasible to call the Meister programs directly using the CDT plug-in. Instead, Make is used to execute according to a Makefile with Meister commands. The order of execution is:
1. The CDT plug-in imitates a build
2. The default make (or an nmake command) is called
3. During the processing of the makefile by make, Meister build commands are invoked
4. Meister performs the build with full dependency checking.
5. Meister reports any errors to the standard output channel.
6. Make reports the output from Meister to the standard output channel.
7. The CDT plug-in captures the output from make.
8. The CDT plug-in applies a parser to the output, capturing error messages and line numbers.
9. The CDT plug-in updates the source code editor document with problem markers according to the identified error messages and line numbers.