Skip to content

Commit

Permalink
update msvc cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Aug 18, 2024
1 parent 686752c commit e5c9440
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public WindowsMSVCTarget() {

cppCompiler.add("cmd");
cppCompiler.add("/c");
cppCompiler.add("vcvars64.bat");
cppCompiler.add("vcvarsall.bat");
cppCompiler.add("x64");
cppCompiler.add("&");
cppCompiler.add("cl");
compilerOutputCommand = "-Fo:";
Expand All @@ -38,7 +39,8 @@ public WindowsMSVCTarget() {

@Override
protected void setup(BuildConfig config) {
linkerCompiler.add("vcvars64.bat");
linkerCompiler.add("vcvarsall.bat");
linkerCompiler.add("x64");
linkerCompiler.add("&");
if(isStatic) {
linkerCompiler.add("lib");
Expand Down

0 comments on commit e5c9440

Please sign in to comment.