Previous 199869 Revisions Next

r36828 Tuesday 31st March, 2015 at 11:57:02 UTC by Miodrag Milanović
Made SDL build to be able to be compiled on VS (nw)
[scripts/src/osd]sdl.lua sdl_cfg.lua

trunk/scripts/src/osd/sdl.lua
r245339r245340
2929   end
3030
3131   if _OPTIONS["targetos"]=="windows" then
32      linkoptions{
33         "-municode",
34      }
32      configuration { "mingw*" }
33         linkoptions{
34            "-municode",
35         }
36      configuration { "x32", "vs*" }
37         libdirs {
38            path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86")
39         }
40      configuration { "x64", "vs*" }
41         libdirs {
42            path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64")
43         }
44      configuration { "vs*" }   
45         links {
46            "SDL2",
47            "opengl32",
48         }
49      configuration {}
50
3551      if (USE_QT == 1) then
3652         linkoptions{
3753            "-L$(shell qmake -query QT_INSTALL_LIBS)",
trunk/scripts/src/osd/sdl_cfg.lua
r245339r245340
8989      "SDLMAME_NET_PCAP",
9090      "main=utf8_main",
9191   }
92   configuration { "mingw*" }
93      buildoptions {
94         "-I$(shell qmake -query QT_INSTALL_HEADERS)/QtCore",
95         "-I$(shell qmake -query QT_INSTALL_HEADERS)/QtGui",
96         "-I$(shell qmake -query QT_INSTALL_HEADERS)",
97      }
98     
99   configuration { "vs*" }
100      includedirs {
101         path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include")
102      }
103   configuration { }
92104
93   buildoptions {
94      "-I$(shell qmake -query QT_INSTALL_HEADERS)/QtCore",
95      "-I$(shell qmake -query QT_INSTALL_HEADERS)/QtGui",
96      "-I$(shell qmake -query QT_INSTALL_HEADERS)",
97   }
98105elseif _OPTIONS["targetos"]=="linux" then
99106   defines {
100107      "USE_OPENGL=1",


Previous 199869 Revisions Next


© 1997-2024 The MAME Team