We’re trying to get away from requiring all developers to have to have Visual Studio and VisualGDB installed in order to build our firmware. Let the individual developer choose their own IDE and debugger. But some devs want to keep using VisualGDB because they’re used to it and we haven’t found anything that integrates as nicely with a IDE.
I moved our build configuration over to CMake, and I’m trying to figure out how to make the Advanced CMake functionality in VisualGDB work. The first hurdle I’m running across is VisualGDB wants to use its own version of CMake, rather than the system installed on.
Is there a way to make VisualGDB use the system installed CMake rather than the pre-packaged one? Or even better, is there a way to EXPLICITLY tell VisualGDB on how to build the target and where the .elf file is going to be? I’ve been playing around with Advanced CMake and it seems like VisualGDB is trying to tack on it’s own options to the cmake configure and build commands.