[cmake-developers] Debugger for CMake

Brad King brad.king at kitware.com
Mon Feb 13 14:59:38 EST 2017


On 02/02/2017 01:15 PM, Justin Berger wrote:
> I haven't seen the proposals on how to implement alternative language
> front ends from the technical side; but the debugger shouldn't have any
> explicit dependence on the front-end language; its called via hooks
> (right now in cmMakefile) and has some introspection capabilities via
> that same class.

The cmMakefile class is the core implementation of the current CMake
language (it's name is historical), so placing the hooks in it would tie
the debugger to the current language.  I don't think there is anything
wrong with that because the whole point is to debug code written the
current language.

-Brad



More information about the cmake-developers mailing list