summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2026-04-08 15:53:07 +0700
committer Vas Crabb <vas@vastheman.com>2026-04-10 01:35:25 +1000
commitb07a73f86ffca5b86e1e39330fe3fde1ff184609 (patch)
treec36560b7bd4cec3c7680b7df935c2512a108816c /makefile
parent2949f8dba522d7124fb83ea4c93fe349b5f45edb (diff)
build: Add support for VS2026; 3rdparty/genie: Local fixes:
* Local fix for GENie resource include directory bug, sent upstream as bkaradzic/GENie#572 * Local fix to disable broken command line escaping * Local fix to use MPARAM instead of hard-coded -m64
Diffstat (limited to 'makefile')
-rw-r--r--makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile b/makefile
index 282078827bc..3da69b80f64 100644
--- a/makefile
+++ b/makefile
@@ -1136,6 +1136,24 @@ ifdef MSBUILD
endif
#-------------------------------------------------
+# Visual Studio 2026
+#-------------------------------------------------
+
+.PHONY: vs2026
+vs2026: generate
+ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) vs2026
+ifdef MSBUILD
+ $(SILENT) msbuild.exe $(PROJECTDIR_WIN)/vs2026/$(PROJECT_NAME).sln $(MSBUILD_PARAMS)
+endif
+
+.PHONY: vs2026_clang
+vs2026_clang: generate
+ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --vs=clangcl vs2026
+ifdef MSBUILD
+ $(SILENT) msbuild.exe $(PROJECTDIR_WIN)/vs2026-clang/$(PROJECT_NAME).sln $(MSBUILD_PARAMS)
+endif
+
+#-------------------------------------------------
# android-ndk
#-------------------------------------------------