diff options
author | 2015-03-29 18:58:39 +0200 | |
---|---|---|
committer | 2015-03-29 18:58:39 +0200 | |
commit | 4a6023e471d6fbbecfce6fb6ebd00746c26cc34b (patch) | |
tree | 1425ca164f368f652383492d093442fc832b3181 /scripts/src/osd/sdl_cfg.lua | |
parent | a600e61c5865c2ce31cb2329d271d2aedd0b2f5f (diff) |
Added two more options to the build system:
USE_QT: Compile the QT Debugger. Default is USE_QT=1 (except macosx),
use USE_QT=0 to disable.
LDOPTS: Optional LDFLAGs.
These are mainly used for cross compilation. The following will compile
a windows SDL build without QT debugger on linux:
make TARGETOS=windows PTR64=1 OSD=sdl OS=linux \
OVERRIDE_CC="@x86_64-w64-mingw32-gcc" \
OVERRIDE_CXX="@x86_64-w64-mingw32-g++" \
OVERRIDE_LD="x86_64-w64-mingw32-g++" \
WINDRES="x86_64-w64-mingw32-windres" \
USE_QT=0 \
ARCHOPTS="-idirafter ${MINGW64DIR}/x86_64-w64-mingw32/include/ \
-I${MINGW64DIR}/Qt/include/ -v" SUBTARGET=tiny MINGW64=/usr \ \
LDOPTS="-L/mnt/mfhome/andre/mame/w64crosslibs"
Diffstat (limited to 'scripts/src/osd/sdl_cfg.lua')
-rw-r--r-- | scripts/src/osd/sdl_cfg.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/src/osd/sdl_cfg.lua b/scripts/src/osd/sdl_cfg.lua index e746dcf40df..3b2702ff6d8 100644 --- a/scripts/src/osd/sdl_cfg.lua +++ b/scripts/src/osd/sdl_cfg.lua @@ -11,7 +11,7 @@ if _OPTIONS["targetos"]=="windows" then "SDLMAME_SDL2=1", "USE_XINPUT=0", "USE_OPENGL=1", - "USE_QTDEBUG=1", + "USE_QTDEBUG=" .. USE_QT, "SDLMAME_NET_PCAP", } @@ -30,7 +30,7 @@ if _OPTIONS["targetos"]=="linux" then "SDLMAME_SDL2=1", "USE_XINPUT=0", "USE_OPENGL=1", - "USE_QTDEBUG=1", + "USE_QTDEBUG=" .. USE_QT, "SDLMAME_NET_TAPTUN", } |