Skip to content

Commit

Permalink
test fix appveyor. Part 17
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 24, 2018
1 parent 6e1ffa9 commit f68fb05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ project(OpenXRay)

set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

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

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive --std=c++17")

add_definitions(-D_MT -D_CPPUNWIND -DPURE_DYNAMIC_CAST -DDECLARE_SPECIALIZATION -DM_NOSTDCONTAINERS_EXT -DUSE_OGL)
Expand Down
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ install:
invoke '7z' 'x -oC:\ mw64.7z';
}
build_script:
- git submodule update --init --recursive
- C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\mingw32-make --version
- C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\g++ --version
- ECHO %PATH%
- git submodule update --init --recursive
- 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%" &&
MKDIR bin &&
CD bin &&
cmake .. -G "MinGW Makefiles"&&
Expand Down

0 comments on commit f68fb05

Please sign in to comment.