-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathprepbuild.cmd
More file actions
26 lines (19 loc) · 800 Bytes
/
prepbuild.cmd
File metadata and controls
26 lines (19 loc) · 800 Bytes
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
26
@echo off
:: If /E is specified on the command line we take the following variables from the current environment
IF "%1" == "/E" goto :fromenv
:: Check these variables and in case adjust them depending on your environment
set HOST_PLATFORM=x64
set VCPKG_ROOT=C:\VCPKG
:: Check these variables (end)
:: These indicates the current version of GixSQL included in Gix-IDE
set GIXSQLMAJ=1
set GIXSQLMIN=0
set GIXSQLREL=21dev
:: These indicates the current version of GixSQL included in Gix-IDE (end)
:fromenv
SET MYPATH=%~dp0
set SCRIPT_DIR=%MYPATH:~0,-1%
echo SCRIPT_DIR IS %SCRIPT_DIR%
echo Configuring version (%GIXSQLMAJ%.%GIXSQLMIN%.%GIXSQLREL%) in header file (%SCRIPT_DIR%\config.h) for GixSQL
echo #define VERSION "%GIXSQLMAJ%.%GIXSQLMIN%.%GIXSQLREL%" > %SCRIPT_DIR%\config.h
echo Done