Last active
September 13, 2019 05:45
-
-
Save Aeva/457884584b88d299acb0b485eaf29c6b to your computer and use it in GitHub Desktop.
calling cl.exe from within wsl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat">NUL' > /mnt/c/Users/aeva/cl.bat | |
echo '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\Hostx64\x64\cl.exe" %*' >> /mnt/c/Users/aeva/cl.bat | |
alias cl="cmd.exe /q /c C:/Users/aeva/cl.bat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment