summaryrefslogtreecommitdiff
path: root/winbuild/makedebug.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild/makedebug.cmd')
-rw-r--r--winbuild/makedebug.cmd12
1 files changed, 12 insertions, 0 deletions
diff --git a/winbuild/makedebug.cmd b/winbuild/makedebug.cmd
new file mode 100644
index 000000000..b4a917c34
--- /dev/null
+++ b/winbuild/makedebug.cmd
@@ -0,0 +1,12 @@
+@echo off
+
+where.exe nmake.exe >nul 2>&1
+
+IF %ERRORLEVEL == 1 (
+ ECHO Error: Can't find `nmake.exe` - be sure to run this script from within a Developer Command-Prompt
+ ECHO.
+) ELSE (
+ nmake /f Makefile.vc mode=static DEBUG=yes GEN_PDB=yes
+ IF %ERRORLEVEL% NEQ 0 (ECHO "Error: Build Failed")
+)
+