Skip to content

Commit

Permalink
test fix appveyor. Part 22
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 24, 2018
1 parent c65a7cf commit 2172783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ project(OpenXRay)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

IF(MINGW)
SET(CMAKE_MAKE_PROGRAM mingw32-make)
ENDIF(MINGW)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive --std=c++17")
Expand Down
17 changes: 8 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@ build_script:
# and the MinGW build will not work (the Visual Studio build does not care).

- 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%" &&
SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
)

- ECHO %PATH%
if [%tbs_tools%]==[mingw] (
- MKDIR bin
- CD bin
- cmake .. -G "MinGW Makefiles"
- mingw32-make
- ECHO %PATH%
- if [%tbs_tools%]==[mingw] (
MKDIR bin &&
CD bin &&
cmake .. -G "MinGW Makefiles" &&
mingw32-make
)
- if [%tbs_tools%]==[msvcDISABLE] (
ECHO '%cd%' &&
Expand Down

0 comments on commit 2172783

Please sign in to comment.