Commit 05400f4d authored by Jan Möbius's avatar Jan Möbius

Paths commands

parent ff2fda00
...@@ -19,7 +19,7 @@ cppcheck: ...@@ -19,7 +19,7 @@ cppcheck:
- cppcheck.log - cppcheck.log
VS2015-Qt-5.6.0-x64: VS2015-Qt-5.6.0-x64:
script: "JI\\Configure-VS2015-Qt-5.6.0-x64.bat & pwd & JI\\Build-VS2015-Qt-5.6.0-x64.bat & pwd & JI\\Test-VS2015-Qt-5.6.0-x64.bat & JI\\Package-VS2015-Qt-5.6.0-x64.bat" script: "CI\\VS2015-Qt-5.6.0-x64.bat"
tags: tags:
- VS2015 - VS2015
- Qt56 - Qt56
......
git submodule init
git submodule update --remote
mkdir rel
cd rel
set ARCHITECTURE=x64
set ARCH_VS= Win64
set STRING_ARCH=64-Bit
set QT_REV=5.6
set QT_SUFFIX=
set LIBPATH_BASE=C:\libs\VS2015
set GTESTVERSION=gtest-1.7.0
set GENERATOR=Visual Studio 14%ARCH_VS%
set VS_PATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com"
set QT_VERSION=Qt5.6.0
set QT_BASE_CONFIG=-DQT5_INSTALL_PATH=C:\Qt\%QT_VERSION%-vs2015-%STRING_ARCH%\%QT_REV%\msvc2015_64%QT_SUFFIX%
set GLUT_INCLUDE_DIR=C:\libs\VS2015\%ARCHITECTURE%\freeglut-3.0.0\include
set GLUT_GLUT_LIBRARY=C:\libs\VS2015\%ARCHITECTURE%\freeglut-3.0.0\lib\freeglut.lib
set GLEW_INCLUDE_DIR=C:\libs\VS2015\%ARCHITECTURE%\glew-1.13.0\include
set GLEW_LIBRARY_DIR=C:\libs\VS2015\%ARCHITECTURE%\glew-1.13.0\lib\glew32.lib
set CMAKE_CONFIGURATION=%QT_BASE_CONFIG% -DGLUT_INCLUDE_DIR="%GLUT_INCLUDE_DIR%" -DGLUT_glut_LIBRARY="%GLUT_GLUT_LIBRARY%" -DGLEW_INCLUDE_DIR="%GLEW_INCLUDE_DIR%" -DGLEW_LIBRARY="%GLEW_LIBRARY_DIR%"
"C:\Program Files (x86)\CMake\bin\cmake.exe" -DGTEST_PREFIX="%LIBPATH_BASE%\%ARCHITECTURE%\%GTESTVERSION%" -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=Release -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE %CMAKE_CONFIGURATION% ..
%VS_PATH% /Build "Release" OpenFlipper.sln /Project "ALL_BUILD"
cd tests
copy ..\Build\Qt*.dll testBinaries
copy ..\Build\icu*.dll testBinaries
run_tests.bat
cd ..
set BUILD_PLATFORM=VS2015
del *.exe
%VS_PATH% /Build "Release" OpenFlipper.sln /Project "PACKAGE"
move OpenFlipper-*.exe "OpenFlipper-Free-Git-Master-%GIT_COMMIT%-%BUILD_PLATFORM%-%STRING_ARCH%-%QT_VERSION%.exe"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment