| Previous | 199869 Revisions | Next |
| r36873 Wednesday 1st April, 2015 at 10:02:13 UTC by Miodrag Milanović |
|---|
| Ok shuffling done |
| [scripts] | genie.lua |
| [scripts/src/osd] | osdmini.lua sdl.lua sdl_cfg.lua windows.lua windows_cfg.lua |
| r245384 | r245385 | |
|---|---|---|
| 327 | 327 | |
| 328 | 328 | |
| 329 | 329 | if _OPTIONS["targetos"]=="windows" then |
| 330 | configuration { "mingw*" } | |
| 331 | linkoptions { | |
| 332 | "-municode", | |
| 333 | } | |
| 334 | configuration { "vs*" } | |
| 335 | flags { | |
| 336 | "Unicode", | |
| 337 | } | |
| 338 | 330 | configuration { "x64" } |
| 339 | 331 | defines { |
| 340 | 332 | "X64_WINDOWS_ABI", |
| 341 | 333 | } |
| 342 | 334 | configuration { } |
| 343 | defines { | |
| 344 | "UNICODE", | |
| 345 | "_UNICODE", | |
| 346 | "main=utf8_main", | |
| 347 | } | |
| 348 | 335 | end |
| 349 | 336 | |
| 350 | 337 | -- Avoid error when invoking genie --help. |
| r245384 | r245385 | |
|---|---|---|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | files { |
| 33 | MAME_DIR .. "src/osd/osdnet.c", | |
| 33 | 34 | MAME_DIR .. "src/osd/osdmini/minimain.c", |
| 34 | 35 | MAME_DIR .. "src/osd/modules/lib/osdobj_common.c", |
| 35 | 36 | MAME_DIR .. "src/osd/modules/font/font_sdl.c", |
| r245384 | r245385 | |
| 87 | 88 | end |
| 88 | 89 | |
| 89 | 90 | files { |
| 91 | MAME_DIR .. "src/osd/osdcore.c", | |
| 90 | 92 | MAME_DIR .. "src/osd/modules/osdmodule.c", |
| 91 | 93 | MAME_DIR .. "src/osd/osdmini/minidir.c", |
| 92 | 94 | MAME_DIR .. "src/osd/osdmini/minifile.c", |
| r245384 | r245385 | |
|---|---|---|
| 43 | 43 | end |
| 44 | 44 | |
| 45 | 45 | if _OPTIONS["targetos"]=="windows" then |
| 46 | configuration { "mingw*" } | |
| 47 | linkoptions{ | |
| 48 | "-municode", | |
| 49 | } | |
| 50 | configuration { "vs*" } | |
| 51 | flags { | |
| 52 | "Unicode", | |
| 53 | } | |
| 46 | 54 | configuration { "x32", "vs*" } |
| 47 | 55 | libdirs { |
| 48 | 56 | path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86") |
| r245384 | r245385 | |
|---|---|---|
| 99 | 99 | end |
| 100 | 100 | |
| 101 | 101 | if _OPTIONS["targetos"]=="windows" then |
| 102 | defines { | |
| 103 | "UNICODE", | |
| 104 | "_UNICODE", | |
| 105 | "main=utf8_main", | |
| 106 | } | |
| 107 | ||
| 102 | 108 | configuration { "vs*" } |
| 103 | 109 | includedirs { |
| 104 | 110 | path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include") |
| r245384 | r245385 | |
|---|---|---|
| 4 | 4 | function maintargetosdoptions(_target) |
| 5 | 5 | osdmodulestargetconf() |
| 6 | 6 | |
| 7 | configuration { "mingw*" } | |
| 8 | linkoptions { | |
| 9 | "-municode", | |
| 10 | } | |
| 11 | ||
| 12 | configuration { } | |
| 13 | ||
| 7 | 14 | if _OPTIONS["DIRECTINPUT"] == "8" then |
| 8 | 15 | links { |
| 9 | 16 | "dinput8", |
| r245384 | r245385 | |
|---|---|---|
| 1 | 1 | defines { |
| 2 | "UNICODE", | |
| 3 | "_UNICODE", | |
| 2 | 4 | "OSD_WINDOWS", |
| 3 | 5 | "USE_SDL=0", |
| 6 | "main=utf8_main", | |
| 4 | 7 | "_WIN32_WINNT=0x0501", |
| 5 | 8 | } |
| 6 | 9 | |
| 10 | configuration { "vs*" } | |
| 11 | flags { | |
| 12 | "Unicode", | |
| 13 | } | |
| 14 | ||
| 15 | configuration { } | |
| 16 | ||
| 7 | 17 | if not _OPTIONS["DONT_USE_NETWORK"] then |
| 8 | 18 | defines { |
| 9 | 19 | "USE_NETWORK", |
| https://github.com/mamedev/mame/commit/627b7c61dcc3ab194b55a9d7e51e29fa43dbcf07 |
| Previous | 199869 Revisions | Next |