Open ci70 opened 8 years ago
What is hard-coded here? The executable? That’s actually quite reasonable…
On Windows the plugin is intended to be used with a mingw-based clang (see msys2).
You would need to call a wrapper script instead of the executable in your case. (which would need this option)
You could use a wrapper script for sublime instead.
Or edit linter.py
yourself.
Or just use mingw-clang.
I have modified it. Now it's much much better.
Why are the options hard coded in the plugin? I am trying to launch a batch file before clang launches. It seems it's impossible.
Looking at linter.py it has its own options it seems no way to override it.
For example on Windows you must do this or the compiler will not recognize any headers.