forked from CUBRID/cubrid-odbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_14.bat
25 lines (19 loc) · 897 Bytes
/
build_14.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
set WORKSPACE=%~dp0
set INSTALL_DIRS=output
echo %INSTALL_DIRS%
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.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