aboutsummaryrefslogtreecommitdiff
path: root/winbuild/makedebug.cmd
diff options
context:
space:
mode:
authorRich Turner <richturn@microsoft.com>2018-06-28 15:25:00 -0700
committerDaniel Stenberg <daniel@haxx.se>2018-09-29 12:39:41 +0200
commitbecfe1233ff2b6b0c3e1b6a10048b55b68c2539f (patch)
tree57bd7b06e8af6e730570e9bb26d15f0682309416 /winbuild/makedebug.cmd
parent454fa3fd7be9b4a8d51d19d3515a3a935c3bf400 (diff)
curl: enabled Windows VT Support and UTF-8 output
Enabled Console VT support (if running OS supports VT) in tool_main.c. Fixes #3008 Closes #3011
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")
+)
+