aboutsummaryrefslogtreecommitdiff
path: root/winbuild/makedebug.cmd
blob: b4a917c34db95111cfb889e278a74c8a1e34047e (plain)
1
2
3
4
5
6
7
8
9
10
11
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")
)