mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
Update appveyor.yml
This commit is contained in:
parent
0d96f7188c
commit
bb72e4ead9
10
appveyor.yml
10
appveyor.yml
@ -199,7 +199,7 @@ for:
|
||||
|
||||
build_script:
|
||||
- sh: echo == BUILD JKQtPlotter ============================================================================
|
||||
- sh: cd %APPVEYOR_BUILD_FOLDER%
|
||||
- sh: cd $APPVEYOR_BUILD_FOLDER
|
||||
- sh: mkdir build
|
||||
- sh: mkdir install
|
||||
- sh: cd build
|
||||
@ -207,7 +207,7 @@ for:
|
||||
if [ "$USE_CMAKE" = true ]; then
|
||||
echo --- Run CMake Configure -----------------------------------------------------------------------------
|
||||
cmake --version
|
||||
cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR;$CIMG_INCLUDE_DIR" "-DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/install" ..
|
||||
cmake -G "$CMAKE_GENERATOR" "-DCMAKE_PREFIX_PATH=$QTDIR;$CIMG_INCLUDE_DIR" "-DCMAKE_INSTALL_PREFIX=$APPVEYOR_BUILD_FOLDER/install" ..
|
||||
echo --- Build using CMake -------------------------------------------------------------------------------
|
||||
cmake --build . --config "$CONFIGURATION" -j$(getconf _NPROCESSORS_ONLN) -- $CMAKE_BUILDFLAGS
|
||||
fi
|
||||
@ -220,7 +220,7 @@ for:
|
||||
make -j$(getconf _NPROCESSORS_ONLN)
|
||||
fi
|
||||
- sh: echo == INSTALL JKQtPlotter ==========================================================================
|
||||
- sh: cd %APPVEYOR_BUILD_FOLDER%
|
||||
- sh: cd $APPVEYOR_BUILD_FOLDER
|
||||
- sh: cd build
|
||||
- sh: |
|
||||
if [ "$USE_CMAKE" = true ]; then
|
||||
@ -231,13 +231,13 @@ for:
|
||||
|
||||
after_build:
|
||||
- sh: echo == TEST USE JKQtPlotter CMAKE BUILD ============================================================
|
||||
- sh: cd %APPVEYOR_BUILD_FOLDER%
|
||||
- sh: cd $APPVEYOR_BUILD_FOLDER
|
||||
- sh: if %USE_CMAKE%==true cd examples\cmake_link_example
|
||||
- sh: mkdir build
|
||||
- sh: cd build
|
||||
- sh: |
|
||||
if [ "$USE_CMAKE" = true ]; then
|
||||
cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QTDIR%;%CIMG_INCLUDE_DIR%;%APPVEYOR_BUILD_FOLDER%\install" ..
|
||||
cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QTDIR%;%CIMG_INCLUDE_DIR%;$APPVEYOR_BUILD_FOLDER\install" ..
|
||||
cmake --build . --config "%CONFIGURATION%" -j%NUMBER_OF_PROCESSORS% -- %CMAKE_BUILDFLAGS%
|
||||
fi
|
||||
- sh: cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user