enable cmake mingw builds in travis

This commit is contained in:
Brent Cook
2019-01-02 05:37:08 -06:00
parent c23f745179
commit 3bcb2e5ff2
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)