forked from misch7/nextcloud-client-building
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.inc.bat
25 lines (18 loc) · 832 Bytes
/
common.inc.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
Rem ******************************************************************************************
rem "common environment Variables"
Rem ******************************************************************************************
rem Release or Debug
set BUILD_TYPE=Release
if "%~1" == "Debug" (set BUILD_TYPE=%~1)
Rem ******************************************************************************************
rem Win64 or Win32
set BUILD_ARCH=Win64
set CMAKE_GENERATOR=Visual Studio 15 2017 Win64
set QT_BIN_PATH=%QT_PATH%/msvc2017_64/bin
if "%~2" == "Win32" (set BUILD_ARCH=%~2)
if "%BUILD_ARCH%" == "Win32" (
set CMAKE_GENERATOR=Visual Studio 15 2017
set QT_BIN_PATH=%QT_PATH%/msvc2017/bin
)
set PATH=%QT_BIN_PATH%;%PATH%
Rem ******************************************************************************************