Support Windows & cl.exe/clang-cl.exe #128
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for Windows (mainly dealing with
\
), and also addscl.exe
&clang-cl.exe
(.exe
extension optional).Verified on a big project of mine (thousands of files), and still works fine on Linux/Macos with
gcc
&clang
/appleclang
.Todo:
requirements-devel.txt
, some of them seem broken but latest versions of all install just fine (unrelated to this PR and should be fixed separately).cl.exe
&clang-cl.exe
.If anyone wants to chip in that be swell. Working with a broken finger and arm cast so kinda suboptimal.
If you don't want to wait for this PR to be completed (if ever, this repo seems pretty abandoned), you can install it directly using:
pip install git+https://github.com/helmesjo/compiledb@support-cl-clang-cl
Work out-of-the-box on Windows and with MSVC. If not, let me know.