4 ms·
I dont know if you have looked at these options - 1. Have wrapper scripts like sledgcc and sledg++ that keep track of compiler flags passed into them. This way
by dman 11y ago
I dont know if you have looked at these options -
1. Have wrapper scripts like sledgcc and sledg++ that keep track of compiler flags passed into them. This way users can just change the compiler used in their build scripts and you will be good to go.
2. http://clang.llvm.org/docs/JSONCompilationDatabase.html http://clang.llvm.org/docs/JSONCompilationDatabase.html seems to be a good option. Its reasonably easy to get your build system to emit this and a few build systems can even do this out of the box.
- slededit 11y agoAnother option I'm exploring is using the debug info embedded in the executable. There's lots of good info there.