Build WXQT toolkit with AppVeyor
This commit is contained in:
parent
bf823e0419
commit
f7d1f46144
@ -36,6 +36,10 @@ environment:
|
|||||||
GENERATOR: 'Visual Studio 12'
|
GENERATOR: 'Visual Studio 12'
|
||||||
SHARED: ON
|
SHARED: ON
|
||||||
CONFIGURATION: Release
|
CONFIGURATION: Release
|
||||||
|
- TOOLSET: cmake_qt
|
||||||
|
GENERATOR: 'Visual Studio 14 2015 Win64'
|
||||||
|
SHARED: ON
|
||||||
|
CONFIGURATION: Release
|
||||||
|
|
||||||
clone_depth: 50
|
clone_depth: 50
|
||||||
|
|
||||||
|
@ -42,10 +42,15 @@ echo --- Note: ignoring possible test failures under Cygwin
|
|||||||
echo.
|
echo.
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
|
:cmake_qt
|
||||||
|
set CMAKE_TEST_REGEX="test_base"
|
||||||
|
goto :cmake
|
||||||
|
|
||||||
:cmake
|
:cmake
|
||||||
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
||||||
|
if "%CMAKE_TEST_REGEX%"=="" set CMAKE_TEST_REGEX="test_[base|gui]"
|
||||||
cd ..\build_cmake
|
cd ..\build_cmake
|
||||||
ctest -V -C %CONFIGURATION% -R "test_[base|gui]" --output-on-failure --interactive-debug-mode 0 .
|
ctest -V -C %CONFIGURATION% -R %CMAKE_TEST_REGEX% --output-on-failure --interactive-debug-mode 0 .
|
||||||
if %errorlevel% NEQ 0 goto :error
|
if %errorlevel% NEQ 0 goto :error
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
|
@ -78,6 +78,12 @@ set SKIPTESTS=1
|
|||||||
set CMAKE_NATIVE_FLAGS=-j3
|
set CMAKE_NATIVE_FLAGS=-j3
|
||||||
goto cmake
|
goto cmake
|
||||||
|
|
||||||
|
:cmake_qt
|
||||||
|
set SKIPINSTALL=1
|
||||||
|
set QT5DIR="C:\Qt\5.11\msvc2015_64"
|
||||||
|
set CMAKE_CONFIGURE_FLAGS=-DCMAKE_PREFIX_PATH=%QT5DIR% -DwxBUILD_TOOLKIT="qt" -DCMAKE_CXX_STANDARD=11
|
||||||
|
goto cmake
|
||||||
|
|
||||||
:cmake
|
:cmake
|
||||||
echo --- Tools versions:
|
echo --- Tools versions:
|
||||||
cmake --version
|
cmake --version
|
||||||
|
Loading…
Reference in New Issue
Block a user