Commit Graph

26 Commits

Author SHA1 Message Date
Vas Crabb
b55671d63a bgfx: Re-built shaders for crt-geom update. 2022-07-07 20:04:22 +10:00
Vas Crabb
5a984699b3 Fail earlier in the build process if SOURCES= specifies no files containing system definitions 2022-07-07 11:54:01 +10:00
Vas Crabb
6176c84768 Added CI job to check for likely mame.lst errors. 2022-07-02 04:57:25 +10:00
Vas Crabb
c51c443be1 -Added support for directory names in SOURCES=
-Retired the messshared project (combined with shared).

-bus/nubus: Added table of video modes for Mac monitor sense values.
2022-06-30 00:37:49 +10:00
Vas Crabb
871837b123 More quality of life features for new source layout:
Added support for wildcards in .flt filter files.  You'll need to quote
them to avoid /* being parsed as a comment initiator, like "seta/*.cpp"
on a line including the quotes.

Added an XSLT filter for listing system driver sources, like
mame -lx | xsltproc scripts/xslt/list-system-sources.xslt

Converted the ci subtarget (which isn't really used much) into a .flt
rather than .lua and .lst files.
2022-06-29 01:29:04 +10:00
Vas Crabb
ab6237da82 Eliminated cross dependencies between driver projects.
Driver projects now use globs to search for files.  There's less effort
editing the Lua files when things are moved around.  Remember it won't
automatically pick up a change, so if you add/remove/change files, you
should touch makefile to get it to find the change.

Driver projects no longer get the top-level MAME directory as an include
path.  This means you need to think about how you structure things and
not introduce nasty circular dependencies.

Subtarget projects can now be generated entirely from .flt files without
the need for separate Lua scripts and .lst files.  This has been done
for the arcade, mess and virtual targets.  It effectively works like a
SOURCES= build on a large scale.  This means you need to organise things
so the dependency genrators can find them.

There's an issue with the mess subtarget right now.  For some reason,
decmate2.cpp isn't picking up the dependency on the PDP8 CPU core for
the HD6120 device.  I'll debug it later
2022-06-27 18:06:20 +10:00
Vas Crabb
d8854e4e55 Updated scripts to support SOURCES= builds after the reorganisation happens. 2022-06-15 05:07:09 +10:00
Vas Crabb
fe8e132efa
cps2.cpp: Added TOURNAMENT board communication simulation. (#9699) [Vas Crabb, Darksoft, Gregory Lewandowski] 2022-05-06 14:03:57 +10:00
Vas Crabb
e539b09943 Re-enabled some compiler warnings and cleaned up some Python scripts a little. 2022-02-24 16:35:13 +11:00
Vas Crabb
fa8337f62f makedep.py: Deal with loops when there are parent directory references in #include directives.
As an aside, it would be nice if the loops weren't there in the first place.
2020-08-29 18:10:28 +10:00
Vas Crabb
56b000344e nmk16spr, superfx, makedep: misc cleanup (nw) 2019-10-05 21:56:49 +10:00
Vas Crabb
bcfa6047c3 Build system maintenance:
* Re-write makedep.py for better performance and better parsing front-end
* Make srcclean deal with kinds of preprocessor abuse I never want to see in real life

(nw) The new parser front-end is better at recognising C++ syntax and
also substantially faster - bootstrapping a single-driver build should
be noticeably quicker.  Having a single parser for C++, .lst and .flt
files also gets us a bit closer to making it simpler to create custom
subtargets.
2019-10-04 22:55:01 +10:00
Vas Crabb
9a6e04b01f (nw) misc cleanup:
* subhuntr.cpp: S2636 PVI was seemingly uncommented by mistake in 93308b483e - offsets and sound routing seem to be copy/pasted from somewhere
* phi: prettier config
* scramble.cpp, wallc.cpp: avoid some calls to subdevice<...>(...)
* makedep.py: open source files as UTF-8 (GitHub #5482)
* minimaws: be less trusting
2019-10-02 02:11:58 +10:00
smf-
78f0aff27f Apply same flags when building with SOURCES= as when building normally. This fixes the issue which prompted "model1: clear up some memory issues with very recent gcc (nw)" (which only occurred in a SOURCES= build). (nw) 2018-03-15 15:54:37 +00:00
Julian Sikorski
eba66fbab8 Fix build failure with SOURCES defined (#3187)
* Fixed building using system utf8proc

* Fixed building using system portaudio

* Allow using system-wide asio headers (1.11.0 or higher required).

* Allow using system-wide glm headers

* Allow using system-wide rapidjson headers

* Put all ext_includedir calls together

* Fixed build failure when SOURCES is defined
2018-02-10 22:58:29 +01:00
Miodrag Milanovic
4f84793a05 made proper formats compiled only if needed (nw) 2016-08-12 18:27:54 +02:00
Miodrag Milanovic
99f69920ac Fix dependency resolving (nw) 2016-05-01 11:01:27 +02:00
Miodrag Milanovic
fe5c894890 added line back removed by mistake (nw) 2016-03-29 15:48:24 +02:00
Miodrag Milanovic
5cab7dbd8b fix per source build (nw) 2016-03-29 10:58:01 +02:00
Miodrag Milanovic
b489eb202c made sources build use info from mame.lst (nw) 2016-03-02 14:21:26 +01:00
Olivier Galibert
9740102e64 fix makedep when encoutering GAMEL (nw) 2016-02-23 19:26:50 +01:00
Miodrag Milanovic
f5e8c864c2 fix issue with SOURCES=src/mame/drivers/namcops2.cpp (nw) 2016-02-13 19:54:01 +01:00
Miodrag Milanovic
3ac71817d7 Fix build for drivers that use netlist (nw) 2016-01-06 10:40:43 +01:00
Olivier Galibert
11bfbc1736 makedep.py: Finish making it python3-compatible [O. Galibert] 2016-01-03 11:12:11 +01:00
Miodrag Milanovic
033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Miodrag Milanovic
86d3aa8065 Moved tools in proper place, and moved build python scripts together with other scripts (nw) 2015-10-07 12:01:21 +02:00