summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/toolchain.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index d0e4158c5e2..14a374c3859 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -206,6 +206,12 @@ function toolchain(_buildDir, _subDir)
premake.vstudio.toolset = ("ClangCL")
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-clang")
end
+ elseif _ACTION == "vs2026" then
+
+ if "clangcl" == _OPTIONS["vs"] then
+ premake.vstudio.toolset = ("ClangCL")
+ location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-clang")
+ end
end
if (_OPTIONS["CC"] ~= nil) then