From e5c9440af58aa18ba83240be136f1eafcc989787 Mon Sep 17 00:00:00 2001 From: Natan Date: Sun, 18 Aug 2024 17:04:35 -0300 Subject: [PATCH] update msvc cmd --- .../xpenatan/jparser/builder/targets/WindowsMSVCTarget.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jParser/builder/src/main/java/com/github/xpenatan/jparser/builder/targets/WindowsMSVCTarget.java b/jParser/builder/src/main/java/com/github/xpenatan/jparser/builder/targets/WindowsMSVCTarget.java index 840f193..fa3e826 100644 --- a/jParser/builder/src/main/java/com/github/xpenatan/jparser/builder/targets/WindowsMSVCTarget.java +++ b/jParser/builder/src/main/java/com/github/xpenatan/jparser/builder/targets/WindowsMSVCTarget.java @@ -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:"; @@ -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");