From b40f133340783f4f86ed1e7fa5ea82848128ab7b Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 15 Jan 2023 11:58:26 +0800 Subject: support vc6.0 --- xmake/modules/detect/sdks/find_vstudio.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index 37568a24d..50092ff12 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -312,6 +312,9 @@ function _find_vstudio(opt) end table.insert(paths, path.join(logical_drive, "Program Files", "Microsoft Visual Studio", vsvers[version], "*", "VC", "Auxiliary", "Build")) table.insert(paths, path.join(logical_drive, "Program Files", "Microsoft Visual Studio " .. version, "VC")) + if version == "6.0" then + table.insert(paths, path.join(logical_drive, "Program Files", "Microsoft Visual Studio", "VC98", "Bin")) + end end vcvarsall = find_file("vcvarsall.bat", paths) or find_file("vcvars32.bat", paths) end -- cgit v1.3.1