xref: /aosp_15_r20/external/curl/winbuild/makedebug.bat (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker@echo off
2*6236dae4SAndroid Build Coastguard Workerrem ***************************************************************************
3*6236dae4SAndroid Build Coastguard Workerrem *                                  _   _ ____  _
4*6236dae4SAndroid Build Coastguard Workerrem *  Project                     ___| | | |  _ \| |
5*6236dae4SAndroid Build Coastguard Workerrem *                             / __| | | | |_) | |
6*6236dae4SAndroid Build Coastguard Workerrem *                            | (__| |_| |  _ <| |___
7*6236dae4SAndroid Build Coastguard Workerrem *                             \___|\___/|_| \_\_____|
8*6236dae4SAndroid Build Coastguard Workerrem *
9*6236dae4SAndroid Build Coastguard Workerrem * Copyright (C) Daniel Stenberg, <[email protected]>, et al.
10*6236dae4SAndroid Build Coastguard Workerrem *
11*6236dae4SAndroid Build Coastguard Workerrem * This software is licensed as described in the file COPYING, which
12*6236dae4SAndroid Build Coastguard Workerrem * you should have received as part of this distribution. The terms
13*6236dae4SAndroid Build Coastguard Workerrem * are also available at https://curl.se/docs/copyright.html.
14*6236dae4SAndroid Build Coastguard Workerrem *
15*6236dae4SAndroid Build Coastguard Workerrem * You may opt to use, copy, modify, merge, publish, distribute and/or sell
16*6236dae4SAndroid Build Coastguard Workerrem * copies of the Software, and permit persons to whom the Software is
17*6236dae4SAndroid Build Coastguard Workerrem * furnished to do so, under the terms of the COPYING file.
18*6236dae4SAndroid Build Coastguard Workerrem *
19*6236dae4SAndroid Build Coastguard Workerrem * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20*6236dae4SAndroid Build Coastguard Workerrem * KIND, either express or implied.
21*6236dae4SAndroid Build Coastguard Workerrem *
22*6236dae4SAndroid Build Coastguard Workerrem * SPDX-License-Identifier: curl
23*6236dae4SAndroid Build Coastguard Workerrem *
24*6236dae4SAndroid Build Coastguard Workerrem ***************************************************************************
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Workerwhere.exe nmake.exe >nul 2>&1
27*6236dae4SAndroid Build Coastguard Worker
28*6236dae4SAndroid Build Coastguard Workerif %ERRORLEVEL% EQU 1 (
29*6236dae4SAndroid Build Coastguard Worker  echo Error: Cannot find nmake.exe - be sure to run this script from within a Developer Command-Prompt
30*6236dae4SAndroid Build Coastguard Worker) else (
31*6236dae4SAndroid Build Coastguard Worker  nmake.exe /f Makefile.vc mode=static DEBUG=yes GEN_PDB=yes
32*6236dae4SAndroid Build Coastguard Worker  if %ERRORLEVEL% NEQ 0 echo Error: Build Failed
33*6236dae4SAndroid Build Coastguard Worker)
34