trunk/scripts/src/osd/windows.lua
| r245304 | r245305 | |
| 24 | 24 | removeflags { |
| 25 | 25 | "SingleOutputDir", |
| 26 | 26 | } |
| 27 | | |
| 27 | |
| 28 | 28 | options { |
| 29 | 29 | "ForceCPP", |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | dofile("windows_cfg.lua") |
| 33 | | |
| 33 | |
| 34 | 34 | defines { |
| 35 | 35 | "DIRECTINPUT_VERSION=0x0800", |
| 36 | 36 | "DIRECT3D_VERSION=0x0900", |
| r245304 | r245305 | |
| 101 | 101 | MAME_DIR .. "src/osd/modules/sound/sdl_sound.c", |
| 102 | 102 | MAME_DIR .. "src/osd/modules/sound/none.c", |
| 103 | 103 | } |
| 104 | | |
| 104 | |
| 105 | 105 | project ("ocore_" .. _OPTIONS["osd"]) |
| 106 | 106 | uuid (os.uuid("ocore_" .. _OPTIONS["osd"])) |
| 107 | 107 | kind "StaticLib" |
| r245304 | r245305 | |
| 110 | 110 | "ForceCPP", |
| 111 | 111 | } |
| 112 | 112 | removeflags { |
| 113 | | "SingleOutputDir", |
| 113 | "SingleOutputDir", |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | dofile("windows_cfg.lua") |
| 117 | | |
| 117 | |
| 118 | 118 | includedirs { |
| 119 | 119 | MAME_DIR .. "src/emu", |
| 120 | 120 | MAME_DIR .. "src/osd", |
| r245304 | r245305 | |
| 146 | 146 | MAME_DIR .. "src/osd/modules/sync/work_osd.c", |
| 147 | 147 | MAME_DIR .. "src/osd/modules/lib/osdlib_win32.c", |
| 148 | 148 | } |
| 149 | |
| 150 | |
| 151 | -------------------------------------------------- |
| 152 | -- ledutil |
| 153 | -------------------------------------------------- |
| 154 | |
| 155 | if _OPTIONS["with-tools"] then |
| 156 | project("ledutil") |
| 157 | uuid ("061293ca-7290-44ac-b2b5-5913ae8dc9c0") |
| 158 | kind "ConsoleApp" |
| 159 | |
| 160 | options { |
| 161 | "ForceCPP", |
| 162 | } |
| 163 | |
| 164 | targetdir(MAME_DIR) |
| 165 | |
| 166 | links { |
| 167 | "ocore_" .. _OPTIONS["osd"], |
| 168 | } |
| 169 | |
| 170 | includeosd() |
| 171 | |
| 172 | files { |
| 173 | MAME_DIR .. "src/osd/windows/ledutil.c", |
| 174 | } |
| 175 | end |