Created
February 25, 2024 06:21
-
-
Save yasuoohno/5ce102bdd947e4613590b192ecaebcff to your computer and use it in GitHub Desktop.
enable msvc compiler
This file contains 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 OFF | |
SETLOCAL | |
SET CURRENT_DIR=%CD% | |
PUSHD "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build" | |
CMD /K "CALL VCVARS64.BAT & PROMPT $E[1;35m$CMSVC$F %PROMPT% & CD %CURRENT_DIR%" | |
POPD | |
ENDLOCAL | |
EXIT /B 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment