mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Update of the msvc_sdk script.
This commit is contained in:
@@ -213,8 +213,13 @@ with tempfile.TemporaryDirectory() as d:
|
|||||||
|
|
||||||
### versions
|
### versions
|
||||||
|
|
||||||
ucrt = list((OUTPUT / "Program Files/Windows Kits/").glob("*/Lib/*/ucrt"))[0]
|
if (platform.system() == "Windows"):
|
||||||
um = list((OUTPUT / "Program Files/Windows Kits/").glob("*/Lib/*/um"))[0]
|
window_kit = OUTPUT / "Windows Kits/"
|
||||||
|
else:
|
||||||
|
window_kit = OUTPUT / "Program Files/Windows Kits/"
|
||||||
|
|
||||||
|
ucrt = list(window_kit.glob("*/Lib/*/ucrt"))[0]
|
||||||
|
um = list(window_kit.glob("*/Lib/*/um"))[0]
|
||||||
lib = list((OUTPUT / "VC/Tools/MSVC/").glob("*/lib"))[0]
|
lib = list((OUTPUT / "VC/Tools/MSVC/").glob("*/lib"))[0]
|
||||||
|
|
||||||
SDK_OUTPUT.mkdir(exist_ok=True)
|
SDK_OUTPUT.mkdir(exist_ok=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user