mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 08:54:13 +00:00
travis: add mingw build targets
This commit is contained in:
parent
3f27e5d7bb
commit
20850a7f92
16
.travis.yml
16
.travis.yml
@ -3,6 +3,22 @@ language: generic
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- compiler: mingw-x86
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-mingw-w64-i686
|
||||||
|
- mingw-w64-x86-64-dev
|
||||||
|
script:
|
||||||
|
- CROSS_COMPILE=i686-w64-mingw32- ./configure --disable-d3d9 && make HAVE_ZLIB=1 HAVE_BUILTINZLIB=1 HAVE_RPNG=1
|
||||||
|
- compiler: mingw-x64
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- g++-mingw-w64-x86-64
|
||||||
|
- mingw-w64-x86-64-dev
|
||||||
|
script:
|
||||||
|
- CROSS_COMPILE=x86_64-w64-mingw32- ./configure --disable-d3d9 && make HAVE_ZLIB=1 HAVE_BUILTINZLIB=1 HAVE_RPNG=1
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
addons:
|
addons:
|
||||||
|
@ -1337,6 +1337,7 @@ ifeq ($(HAVE_ZLIB), 1)
|
|||||||
DEFINES += -DHAVE_ZLIB
|
DEFINES += -DHAVE_ZLIB
|
||||||
HAVE_COMPRESSION = 1
|
HAVE_COMPRESSION = 1
|
||||||
ifeq ($(HAVE_BUILTINZLIB), 1)
|
ifeq ($(HAVE_BUILTINZLIB), 1)
|
||||||
|
INCLUDE_DIRS += -I$(LIBRETRO_COMM_DIR)/include/compat
|
||||||
DEFINES += -DWANT_ZLIB
|
DEFINES += -DWANT_ZLIB
|
||||||
else
|
else
|
||||||
LIBS += -lz
|
LIBS += -lz
|
||||||
|
@ -46,9 +46,9 @@
|
|||||||
#include <libchdr/cdrom.h>
|
#include <libchdr/cdrom.h>
|
||||||
#include <libchdr/flac.h>
|
#include <libchdr/flac.h>
|
||||||
#include <libchdr/huffman.h>
|
#include <libchdr/huffman.h>
|
||||||
#include "zlib.h"
|
#include <zlib.h>
|
||||||
#include "LzmaEnc.h"
|
#include <LzmaEnc.h>
|
||||||
#include "LzmaDec.h"
|
#include <LzmaDec.h>
|
||||||
#include <retro_inline.h>
|
#include <retro_inline.h>
|
||||||
|
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user