forked from ggreer/the_silver_searcher
-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.ag.bat
25 lines (22 loc) · 1.48 KB
/
configure.ag.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
:#*****************************************************************************
:# *
:# Filename: configure.ag.bat *
:# *
:# Description: Define ag-specific global configuration settings *
:# *
:# Notes: *
:# *
:# History: *
:# 2017-03-04 JFL Created this file. *
:# *
:#*****************************************************************************
:# To avoid overwriting the existing WIN32 subdirectories in . and src and win32\zlib...
if not defined OUTDIR ( :# Unless already redirected elsewhere
set "LOGDIR=." &rem :# But leave the log file in the build directory itself.
)
:# Avoid trying to build ag.exe for DOS and WIN95, which are not supported yet.
if "%OS%"=="Windows_NT" set "OS=" &:# This is the Windows' homonym default, same as undefined for us here.
if not defined OS set "OS=WIN32 WIN64" &:# Only WIN32 and WIN64 are supported so far.
:# We need the 7-Zip LZMA SDK, from https://www.7-zip.org/sdk.html
%USE_SDK% LZMA