forked from CUBRID/cubrid-odbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_2017.bat
executable file
·26 lines (20 loc) · 947 Bytes
/
build_2017.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
26
set WORKSPACE=%~dp0
set INSTALL_DIRS=output
echo %INSTALL_DIRS%
:VS2017COMNTOOLS PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\
call "%VS2017COMNTOOLS%VsDevCmd.bat"
mkdir %INSTALL_DIRS%
devenv cubrid_odbc_14.sln /rebuild "Release|Win32"
devenv cubrid_odbc_14.sln /rebuild "Release|x64"
devenv cubrid_odbc_14.sln /rebuild "Debug|Win32"
devenv cubrid_odbc_14.sln /rebuild "Debug|x64"
copy build\Win32_Debug\cubrid_odbc.dll %INSTALL_DIRS%\cubrid_odbc32_d.dll
copy build\Win32_Release\cubrid_odbc.dll %INSTALL_DIRS%\cubrid_odbc32.dll
copy build\x64_Debug\cubrid_odbc.dll %INSTALL_DIRS%\cubrid_odbc64_d.dll
copy build\x64_Release\cubrid_odbc.dll %INSTALL_DIRS%\cubrid_odbc64.dll
copy installer\installer.nsi %INSTALL_DIRS%\installer.nsi
copy installer\license.txt %INSTALL_DIRS%\license.txt
copy installer\README.txt %INSTALL_DIRS%\README.txt
c:
cd C:\NSIS
makensis %WORKSPACE%\%INSTALL_DIRS%\installer.nsi