Build WXQT toolkit with AppVeyor
This commit is contained in:
parent
bf823e0419
commit
f7d1f46144
@ -36,6 +36,10 @@ environment:
|
||||
GENERATOR: 'Visual Studio 12'
|
||||
SHARED: ON
|
||||
CONFIGURATION: Release
|
||||
- TOOLSET: cmake_qt
|
||||
GENERATOR: 'Visual Studio 14 2015 Win64'
|
||||
SHARED: ON
|
||||
CONFIGURATION: Release
|
||||
|
||||
clone_depth: 50
|
||||
|
||||
|
@ -42,10 +42,15 @@ echo --- Note: ignoring possible test failures under Cygwin
|
||||
echo.
|
||||
exit /b 0
|
||||
|
||||
:cmake_qt
|
||||
set CMAKE_TEST_REGEX="test_base"
|
||||
goto :cmake
|
||||
|
||||
:cmake
|
||||
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
||||
if "%CMAKE_TEST_REGEX%"=="" set CMAKE_TEST_REGEX="test_[base|gui]"
|
||||
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
|
||||
goto :eof
|
||||
|
||||
|
@ -78,6 +78,12 @@ set SKIPTESTS=1
|
||||
set CMAKE_NATIVE_FLAGS=-j3
|
||||
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
|
||||
echo --- Tools versions:
|
||||
cmake --version
|
||||
|
Loading…
Reference in New Issue
Block a user