Closed coreprocess closed 3 years ago
Thanks @core-process! I'm happy to accept this PR. What I'm still figuring out is how to add a test coverage for this.
What do you think about also adding this to Bazel (https://source.bazel.build/bazel/+/master:tools/cpp/windows_cc_configure.bzl;l=77?q=windows_cc_configure&ss=bazel)? Can you imagine anybody depending on the previous behavior?
@hlopko I'm pretty sure the change is okay. But I am not in the position to make such a decision because I lack the overall view of the project. Regarding test coverage: a small sample which depends on a CMake and/or Ninja external, build with MSys/MingW and Cygwin.
Handles
C:\tools\msys64\usr\bin\bash.sh
as well asC:\tools\cygwin\bin\bash.sh
asBAZEL_SH
. Generates proper tooling paths for Cygwin.Adds
.exe
for CMake/Ninja compatibility.