Modify and Debug an existing C++ open source application with its own build scripts that use bazel
Hello!
I need to modify and debug (with all the useful tools available in stm32cubeide) an existing open source application for stm32G474 that is built using bazel. I mean somehow "seamlessly" integrating the whole build process into stm32cubeide. The build is standalone and I can run it without issues by itself but I don't know how to make this same build work from within stm32cubeide. I tried just including the source in a project and build using the built-in stm32cubeide setup but, apart from adding all the include paths, I can't figure out why the compile fails due to all sorts of c++ version and library issues. Obviously, the bazel build does some fancy stuff that I don't think I should (and have the know-how to) mess around with. There must be some clashes between what the cube uses and what the bazel build uses. Note that the bazel build scripts copy all the sources/libraries (including those it obtains from external repositories) to a local directory. Essentially, what I am asking is how to tell stm32cubeide that I want it to use the existing bazel scripts for building yet retain all the nice editing and debug facilities.
