2018-06-29 06:25:00 +08:00
|
|
|
@echo off
|
2019-05-06 03:17:58 +08:00
|
|
|
rem ***************************************************************************
|
|
|
|
rem * _ _ ____ _
|
|
|
|
rem * Project ___| | | | _ \| |
|
|
|
|
rem * / __| | | | |_) | |
|
|
|
|
rem * | (__| |_| | _ <| |___
|
|
|
|
rem * \___|\___/|_| \_\_____|
|
|
|
|
rem *
|
2023-01-02 20:51:48 +08:00
|
|
|
rem * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2019-05-06 03:17:58 +08:00
|
|
|
rem *
|
|
|
|
rem * This software is licensed as described in the file COPYING, which
|
|
|
|
rem * you should have received as part of this distribution. The terms
|
2020-11-04 21:02:01 +08:00
|
|
|
rem * are also available at https://curl.se/docs/copyright.html.
|
2019-05-06 03:17:58 +08:00
|
|
|
rem *
|
|
|
|
rem * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
rem * copies of the Software, and permit persons to whom the Software is
|
|
|
|
rem * furnished to do so, under the terms of the COPYING file.
|
|
|
|
rem *
|
|
|
|
rem * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
rem * KIND, either express or implied.
|
2023-08-31 21:28:49 +08:00
|
|
|
rem *
|
2019-05-06 03:17:58 +08:00
|
|
|
rem * SPDX-License-Identifier: curl
|
|
|
|
rem *
|
|
|
|
rem ***************************************************************************
|
2018-06-29 06:25:00 +08:00
|
|
|
|
|
|
|
where.exe nmake.exe >nul 2>&1
|
|
|
|
|
2024-07-02 16:41:35 +08:00
|
|
|
if %ERRORLEVEL% EQU 1 (
|
|
|
|
echo Error: Cannot find nmake.exe - be sure to run this script from within a Developer Command-Prompt
|
|
|
|
) else (
|
|
|
|
nmake.exe /f Makefile.vc mode=static DEBUG=yes GEN_PDB=yes
|
|
|
|
if %ERRORLEVEL% NEQ 0 echo Error: Build Failed
|
2018-06-29 06:25:00 +08:00
|
|
|
)
|