Skip to content

Commit

Permalink
OK, force AppVeyor to show a listing of the top-level MinGW directory.
Browse files Browse the repository at this point in the history
Trying to figure out how to set CMAKE_MAKE_PROGRAM to force it to look
there for MinGW, and thus to look there for GCC rather than in
C:\MinGW\bin.
  • Loading branch information
guyharris committed Nov 5, 2019
1 parent 8cb6926 commit 1161141
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ install:

environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: "MinGW Makefiles"
SDK: WpdPack
MINGW_PATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: "MinGW Makefiles"
SDK: npcap-sdk-0.1
MINGW_PATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: "Visual Studio 14 2015"
SDK: WpdPack
Expand All @@ -40,20 +48,13 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATOR: "Visual Studio 15 2017 Win64"
SDK: npcap-sdk-0.1
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: "MinGW Makefiles"
SDK: WpdPack
MINGW_PATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: "MinGW Makefiles"
SDK: npcap-sdk-0.1
MINGW_PATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0

build_script:
#
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
#
- type NUL >.devel
- if "%GENERATOR%"=="MinGW Makefiles" dir %MINGW_PATH%
- md build
- cd build
# Remove the default MinGW path
Expand Down

0 comments on commit 1161141

Please sign in to comment.