I'm currently using CXX with Corrosion on a project that is rather difficult to build outside of a docker container and also takes a long time to build.
To get good IDE completion with clangd however, clangd needs to be able to access the header files that are generated by CXX.
This PR allows users to specify a custom CMake target that will regenerate the cxx bridges without needing to recompile.
That way, I can get good IDE completion without having to have a fully working build setup in and outside my docker container.
I'm currently using CXX with Corrosion on a project that is rather difficult to build outside of a docker container and also takes a long time to build.
To get good IDE completion with clangd however, clangd needs to be able to access the header files that are generated by CXX.
This PR allows users to specify a custom CMake target that will regenerate the cxx bridges without needing to recompile. That way, I can get good IDE completion without having to have a fully working build setup in and outside my docker container.