Previous 199869 Revisions Next

r36774 Sunday 29th March, 2015 at 17:10:34 UTC by Miodrag Milanović
more OSX 10.10 fixes and fixed mistake with x64 (nw)
[/trunk]makefile
[scripts]genie.lua
[scripts/src/osd]sdl.lua sdl_cfg.lua windows.lua windows_cfg.lua

trunk/makefile
r245285r245286
367367
368368ifeq ($(TARGETOS),macosx)
369369ifneq (,$(findstring 3.,$(CLANG_VERSION)))
370ifeq ($(ARCHITECTURE),x64)
370ifeq ($(ARCHITECTURE),_x64)
371371ARCHITECTURE=_x64_clang
372372else
373373ARCHITECTURE=_x86_clang
trunk/scripts/genie.lua
r245285r245286
702702
703703configuration { "osx*" }
704704      links {
705         "SDL2.framework",
705706         "Cocoa.framework",
706707         "OpenGL.framework",
707708         "CoreAudio.framework",
708709         "CoreMIDI.framework",
709         "SDL2.framework",
710710         "pthread",
711711      }
712712      buildoptions {
713713         "-F/Library/Frameworks/",
714714      }
715      linkoptions {
716         "-F/Library/Frameworks/",
717      }
715718
716719
717720configuration { "mingw*" }
721      defines {
722         "main=utf8_main",
723      }
718724      linkoptions {
719725         "-static-libgcc",
720726         "-static-libstdc++",
727         "-municode",
721728      }
722729if _OPTIONS["osd"]=="sdl" then
723730      links {
r245285r245286
745752
746753configuration { "vs*" }
747754      defines {
755         "main=utf8_main",
756      }
757      defines {
748758         "XML_STATIC",
749759         "WIN32",
750760         "_WIN32",
trunk/scripts/src/osd/sdl.lua
r245285r245286
11function maintargetosdoptions(_target)
22   if _OPTIONS["targetos"]=="windows" then
33      linkoptions{
4         "-municode",
54         "-L$(shell qmake -query QT_INSTALL_LIBS)",
65      }
76
r245285r245286
2928   configuration { }
3029end
3130
32
3331configuration { "mingw*" }
3432      linkoptions {
3533         "-Wl,--allow-multiple-definition",
trunk/scripts/src/osd/sdl_cfg.lua
r245285r245286
1313      "USE_OPENGL=1",
1414      "USE_QTDEBUG=1",
1515      "SDLMAME_NET_PCAP",
16      "main=utf8_main",
1716   }
1817
1918   buildoptions {
trunk/scripts/src/osd/windows.lua
r245285r245286
11function maintargetosdoptions(_target)
2   linkoptions {
3      "-municode",
4   }
5
62   local rcfile = MAME_DIR .. "src/" .. _target .. "/osd/windows/" .. _target ..".rc"
73
84   if os.isfile(rcfile) then
trunk/scripts/src/osd/windows_cfg.lua
r245285r245286
1212   "USE_DISPATCH_GL=1",
1313   "DIRECTINPUT_VERSION=0x0800",
1414   "SDLMAME_NET_PCAP",
15   "main=utf8_main",
1615}


Previous 199869 Revisions Next


© 1997-2024 The MAME Team