Eclipse includes many ways to build a project. One of it is the built-in builder which makes it super easy. And for more complex building needs I can use an external make (see Tutorial: Makefile Projects with Eclipse) or cmake or combination of multiple ways (see Building a Triumvirate: From Eclipse CDT to CMake, CMD and Visual Studio Code).
There is yet another use case how to easily tweak the build process in Eclipse: using a script file in the project to be used as the ‘compiler’:
![](https://mcuoneclipse.com/wp-content/uploads/2024/05/external-build-script.jpg?w=1024)
That way I can do all kind of custom steps (analysis, re-formatting, static checkers, …) for each file compiled.
Continue reading