Skip to content

Commit

Permalink
test fix appveyor. Part 27
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 24, 2018
1 parent 986ffc8 commit af512d3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,21 @@ build_script:
#- ECHO %PATH%
- git submodule update --init --recursive

# Add mingw-w64 to PATH
# Remove sh.exe from the path otherwise CMake will complain:
# "sh.exe was found in your PATH, here: C:/Program Files/Git/usr/bin/sh.exe"
# and the MinGW build will not work (the Visual Studio build does not care).
- SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"

# Add mingw-w64 to PATH
- if [%tbs_tools%]==[mingw] (
SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%" &&
SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"
)
- ECHO %PATH%
- if [%tbs_tools%]==[mingw] (
MKDIR bin &&
CD bin &&
cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G "MinGW Makefiles" &&
# cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -G "MinGW Makefiles" &&
cmake .. -G "MinGW Makefiles" &&
mingw32-make
)
- if [%tbs_tools%]==[msvcDISABLE] (
Expand Down

0 comments on commit af512d3

Please sign in to comment.