1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-05-03 01:40:54 +02:00

Moved sdlmame to overlay

This commit is contained in:
2018-04-30 09:15:22 +02:00
parent 2df536f020
commit c6bbecd22f
6 changed files with 331 additions and 0 deletions
@@ -0,0 +1,29 @@
No point in adding qt-related things to the compile line unless the qt debugger is wanted
--- scripts/src/osd/sdl_cfg.lua.orig
+++ scripts/src/osd/sdl_cfg.lua
@@ -115,14 +115,16 @@
configuration { }
elseif _OPTIONS["targetos"]=="linux" then
- if _OPTIONS["QT_HOME"]~=nil then
- buildoptions {
- "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
- }
- else
- buildoptions {
- backtick("pkg-config --cflags Qt5Widgets"),
- }
+ if _OPTIONS["USE_QTDEBUG"]=="1" then
+ if _OPTIONS["QT_HOME"]~=nil then
+ buildoptions {
+ "-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
+ }
+ else
+ buildoptions {
+ backtick("pkg-config --cflags Qt5Widgets"),
+ }
+ end
end
elseif _OPTIONS["targetos"]=="macosx" then
defines {