From c46003cf45d887498c191729eca2b4933cc05678 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sun, 23 Sep 2018 04:36:53 +0200 Subject: [PATCH] Allow to build using the bat file and GDC or LDC2 --- build.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index 30fea2e..b90d6eb 100644 --- a/build.bat +++ b/build.bat @@ -1,7 +1,8 @@ IF "%DC%"=="" SET DC="dmd" +IF "%DC%"=="ldc2" SET DC="ldmd2" +IF "%DC%"=="gdc" SET DC="gdmd" IF "%MFLAGS%"=="" SET MFLAGS="-m32" - :: git might not be installed, so we provide 0.0.0 as a fallback or use :: the existing githash file if existent if not exist "bin" mkdir bin