2
0

makedebug.cmd 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. @echo off
  2. rem ***************************************************************************
  3. rem * _ _ ____ _
  4. rem * Project ___| | | | _ \| |
  5. rem * / __| | | | |_) | |
  6. rem * | (__| |_| | _ <| |___
  7. rem * \___|\___/|_| \_\_____|
  8. rem *
  9. rem * Copyright (C) 2018 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
  10. rem *
  11. rem * This software is licensed as described in the file COPYING, which
  12. rem * you should have received as part of this distribution. The terms
  13. rem * are also available at https://curl.haxx.se/docs/copyright.html.
  14. rem *
  15. rem * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  16. rem * copies of the Software, and permit persons to whom the Software is
  17. rem * furnished to do so, under the terms of the COPYING file.
  18. rem *
  19. rem * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  20. rem * KIND, either express or implied.
  21. rem *
  22. rem ***************************************************************************
  23. where.exe nmake.exe >nul 2>&1
  24. IF %ERRORLEVEL% == 1 (
  25. ECHO Error: Can't find `nmake.exe` - be sure to run this script from within a Developer Command-Prompt
  26. ECHO.
  27. ) ELSE (
  28. nmake /f Makefile.vc mode=static DEBUG=yes GEN_PDB=yes
  29. IF %ERRORLEVEL% NEQ 0 (
  30. ECHO "Error: Build Failed"
  31. )
  32. )