Commit Graph

288 Commits

Author SHA1 Message Date
Vas Crabb
910d2267ca Start squeezing out the poor-performing parts of the output_manager:
* Turn deprecated declataion warnings on by default and make them non-fatal
* Make output_finder iterable in algorithms and range-based for loops
* Replace a lot of set_something with output_finder
2018-02-28 21:19:37 +11:00
Justin Kerk
d1b11e5c80 Fix issue linking Emscripten build with certain single-driver compiles (e.g. spectrum.cpp). Emscripten 1.37.29 or higher is now required. [Justin Kerk] 2018-01-31 02:26:47 +00:00
Vas Crabb
4e8bb7c7e5 srcclean and regenerate localisations (nw) 2018-01-28 14:25:52 +11:00
firewave
e2d7b45434 removed implict usage of "nullability" from SANITIZE=undefined (nw) 2018-01-14 13:54:21 +11:00
Oliver Stöneberg
35e5a75243 restored SANITIZE make option (#3043)
* restored basic support for SANITIZE make option

* disabled some unwanted UBSAN checks / enabled nullability checks / enabled ASAN use-after-scope checks (nw)
2018-01-11 19:18:12 -05:00
smf-
b0223ac413 Use dynamic linking for windows SDL builds to workround an error during linking about liblualibs.a being corrupt, which is dependant on the order of the .o files contained within it. [smf] 2017-12-26 11:11:51 +00:00
smf-
f789821121 Added workround for clang static builds and enable them again, don't force -O1 on clang builds. [smf] 2017-12-26 11:11:50 +00:00
Miso Kim
41e044ae01 Modification for Android build (NDK r14b, build-tools 21.1.2 and gradle 2.2.1) (#2585) 2017-08-23 13:09:38 +10:00
Vas Crabb
a0e5e36bd5 looks like 32-bit release builds need /bigobj as well (nw) 2017-05-28 20:11:44 +10:00
smf-
104fe318ac don't use -static on msys2 clang 4.0.0 as it's currently broken, also removed -static-libgcc & -static-libstdc++ on gcc builds as they have no effect if you use -static (nw) 2017-05-25 11:02:24 +01:00
smf-
dc1dcd260b fix MSVC debug builds by specifying /bigobj (needed for mpu4). Release builds don't seem to require it. (nw) 2017-05-16 07:56:04 +01:00
Miodrag Milanovic
a877c987fb detect if SOURCES file do not exist (nw) 2016-12-09 13:00:51 +01:00
Miodrag Milanovic
124f30dbbc Enable building projects that are separate of MAME but use same core and lives in separate git tree (nw) 2016-12-08 11:46:15 +01:00
Miodrag Milanovic
581e5c03b3 Disable incremental linking for VS debug builds (nw) 2016-11-29 08:45:12 +01:00
Miodrag Milanovic
8e61a7d3d3 Added VS2017 support into project files (nw) 2016-11-16 21:00:29 +01:00
Brad Hughes
31e0041051 Fix UWP build issue (nw) 2016-11-16 08:06:28 -05:00
Miodrag Milanovic
145822e21b fix build (nw) 2016-11-16 13:58:52 +01:00
Brad Hughes
234620bc1b UWP: Remove explicit links for winstore builds (nw) 2016-11-16 07:39:37 -05:00
Miodrag Milanovic
0d17e0ff72 fix mingw-clang linking for latest version (nw) 2016-11-16 10:27:15 +01:00
Miodrag Milanovic
0d1f5b6be4 Make 3rdparty compile for UWP and start adding new OSD for UWP based on previous Brad work (nw) 2016-11-09 14:53:19 +01:00
Miodrag Milanovic
330e3cb28e Finally sync with GENie, no more local changes (nw) 2016-11-03 10:04:29 +01:00
Miodrag Milanovic
a2c76b34d8 Fix macOS build (nw) 2016-11-02 17:19:29 +01:00
Justin Kerk
b99be73f2d Experimental support for compiling to WebAssembly using Emscripten (not yet working) (nw) 2016-10-29 06:00:45 +00:00
Miodrag Milanovic
b515a00e55 cleanup (nw) 2016-10-07 14:31:35 +02:00
smf-
c44f52f1a9 disable unknown-attributes & ignored_qualifiers to allow font_dwrite.cpp to build with clang. (nw) 2016-09-17 11:52:12 +01:00
Vas Crabb
234e91f9fb Add Lua-cleaning ability to srcclean 2016-08-30 14:57:38 +10:00
Miodrag Milanovic
85f7413a69 Cleanup for VS2015 build (nw) 2016-08-28 11:58:12 +02:00
Miodrag Milanovic
62fe8b8980 some C++14 features are not supported by VS2013. VS2015 is free for home use so no need for legacy support (nw) 2016-08-27 11:15:38 +02:00
Miodrag Milanovic
0137c5b6a5 Setting GCC bar bit higher (nw) 2016-08-27 10:33:59 +02:00
Miodrag Milanovic
ff1a5cf6fa Temporary fix for debug compile till we fix assert (nw) 2016-08-27 10:11:30 +02:00
AJR
717e1eb9d2 Change warning flags for Clang build (nw)
-Wno-missing-braces is unfortunately now necessary to avoid errors on almost every single use of the std::array initializer in devfind.h. (Apparently C++14 does make double braces optional for std::array initializers, but clang and GCC's -Wmissing-braces never took that into proper account, which is why GCC may still have it disabled by default.)

Several other Clang-specific warnings have been undisabled; some might perhaps need to be locally reenabled if legacy 3rdparty code or sundry OSD includes happen to disagree with them. The only warning to require any code changes was -Wabsolute-value, which seems to have caught a minor render bug (and nothing more).
2016-08-25 00:22:14 -04:00
Miodrag Milanovic
4f84793a05 made proper formats compiled only if needed (nw) 2016-08-12 18:27:54 +02:00
Vas Crabb
159fa2ef9e Attempt to prevent GCC optimising away global_alloc_clear (MT06335) 2016-07-30 18:03:24 +10:00
Jordi Mallach
0e5db039d8 Add arch defines for Linux alpha and mips64el.
Add detection for Linux architectures alpha and mips64el, to avoid
using gcc -m64, which isn't available on them.
2016-07-14 01:01:04 +02:00
Vas Crabb
847ecb65a6 damn circular deps (nw) 2016-06-26 23:48:27 +10:00
Julian Sikorski
6dd5a5fe05 Fixed double hyphen in -pipe 2016-06-14 23:25:32 +02:00
Miodrag Milanovic
4a7cd83c6e Sync GENie, one thing changed, and I have revoked one patch that is going to be removed or changed anyway (nw) 2016-06-10 18:54:55 +02:00
Miodrag Milanovic
3547905acc Synced GENie with latest and applied few changes sent as PR (nw) 2016-06-10 10:56:31 +02:00
Vas Crabb
93cd0cd40b Fix git version [Vas Crabb]
* git version is set by top-level make, not just when GENie runs
* can set IGNORE_GIT=1 for make to ignore git
* git ignored/unavailable uses "unknown" in version string
* mark modified trees as dirty
* note that version now comes from makefile
2016-06-10 00:36:29 +10:00
Miodrag Milanovic
ebd8e7d74b Added initial ninja support to use add MAKETYPE=ninja to compile command line (nw)
Custom build tasks are not yet working
2016-06-09 13:46:36 +02:00
Jeffrey Clark
551d9998f5 support msbuild from posix shell
preliminary fastbuild support (experimental in genie)
2016-05-31 20:26:34 -07:00
Miodrag Milanovic
80a70226f9 disable BGFX debug info (nw) 2016-05-24 11:39:20 +02:00
Miodrag Milanovic
175084897e Added ability to create standalone emulators, added zexall as example (nw) 2016-05-08 19:07:18 +02:00
Miodrag Milanovic
1c726824f2 Split UI and frontend part from core [Miodrag Milanovic] 2016-04-23 11:26:47 +02:00
Miodrag Milanovic
0d980951c9 set GIT_VERSION only where it is used (nw) 2016-04-21 15:50:15 +02:00
Miodrag Milanovic
3e8559ad7b Always rebuild version.cpp when there is git version change (nw) 2016-04-16 17:18:17 +02:00
Miodrag Milanovic
6bb33aa52c Add short git version if building non-release build, also if git command is not available or if .git is not there (so building out of other sources) (nw) 2016-04-16 10:19:59 +02:00
Miodrag Milanovic
c833268236 Added DEBUG_DIR and DEBUG_ARGS parameters, make sense right now for VS build (nw) 2016-04-12 15:43:15 +02:00
Justin Kerk
a1bad36d22 Add more clang output to tell where #include errors are coming from 2016-04-09 22:28:04 +00:00
Miodrag Milanovic
ae5258faec Added PRECOMPILE=0 so in conjunction with ccache it gives better compile speed (nw) 2016-04-02 17:48:31 +02:00