aboutsummaryrefslogtreecommitdiff
path: root/winbuild/makedebug.cmd
blob: 079e16a05f389a99622ea4d3ba12c4c391e4513b (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")
)