-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrelease_it.bat
28 lines (16 loc) · 974 Bytes
/
release_it.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
27
28
set CMAKE_BUILDDIR=build\cmake\vc
set STARTDIR=%CD%
set WXDIR=%STARTDIR%\..\..\wxWidgets\2.8.11
@if "%VS71COMNTOOLS%"=="" call "%VS80COMNTOOLS%\vsvars32.bat"
@if "%VS80COMNTOOLS%"=="" call "%VS71COMNTOOLS%\vsvars32.bat"
mkdir %CMAKE_BUILDDIR%
cd %CMAKE_BUILDDIR%
del CMakeCache.txt
cmake -D LITESQL_WITH_DOCS:bool=ON -D LITESQL_WITH_MYSQL:bool=ON -D LITESQL_WITH_SQLITE:bool=ON -D LITESQL_WITH_TESTS:bool=ON -D LITESQL_WITH_UI:bool=ON -D LITESQL_MSVC_MT:BOOL=ON -D wxWidgets_ROOT_DIR=%WXDIR% -D wxWidgets_LIB_DIR=%WXDIR%\lib\vc_lib %STARTDIR%
devenv /rebuild Debug litesql.sln /project "ALL_BUILD.vcproj" /projectconfig Debug
devenv /rebuild Release litesql.sln /project "ALL_BUILD.vcproj" /projectconfig Debug
devenv /build Debug litesql.sln /project "RUN_TESTS.vcproj" /projectconfig Debug
devenv /build Release litesql.sln /project "PACKAGE.vcproj" /projectconfig Release
cpack --config CPackSourceConfig.cmake
cd %STARTDIR%
pause