Previous 199869 Revisions Next

r36771 Sunday 29th March, 2015 at 16:58:11 UTC by Vasantha Crabb
Fix osdmini build on Windows (crashes if you run it though)
[scripts]genie.lua
[scripts/src/osd]sdl.lua sdl_cfg.lua windows.lua windows_cfg.lua

trunk/scripts/genie.lua
r245282r245283
715715
716716
717717configuration { "mingw*" }
718      defines {
719         "main=utf8_main",
720      }
721718      linkoptions {
722719         "-static-libgcc",
723720         "-static-libstdc++",
724         "-municode",
725721      }
726722if _OPTIONS["osd"]=="sdl" then
727723      links {
r245282r245283
749745
750746configuration { "vs*" }
751747      defines {
752         "main=utf8_main",
753      }
754      defines {
755748         "XML_STATIC",
756749         "WIN32",
757750         "_WIN32",
trunk/scripts/src/osd/sdl.lua
r245282r245283
2828   configuration { }
2929end
3030
31
32if _OPTIONS["targetos"]=="windows" then
33   linkoptions {
34      "-municode",
35   }
36end
37
38
3139configuration { "mingw*" }
3240      linkoptions {
3341         "-Wl,--allow-multiple-definition",
trunk/scripts/src/osd/sdl_cfg.lua
r245282r245283
1313      "USE_OPENGL=1",
1414      "USE_QTDEBUG=1",
1515      "SDLMAME_NET_PCAP",
16      "main=utf8_main",
1617   }
1718
1819   buildoptions {
trunk/scripts/src/osd/windows.lua
r245282r245283
1313end
1414
1515
16linkoptions {
17   "-municode",
18}
19
20
1621project ("osd_" .. _OPTIONS["osd"])
1722   uuid (os.uuid("osd_" .. _OPTIONS["osd"]))
1823   kind "StaticLib"
trunk/scripts/src/osd/windows_cfg.lua
r245282r245283
1212   "USE_DISPATCH_GL=1",
1313   "DIRECTINPUT_VERSION=0x0800",
1414   "SDLMAME_NET_PCAP",
15   "main=utf8_main",
1516}


Previous 199869 Revisions Next


© 1997-2024 The MAME Team