Commit Graph

265 Commits

Author SHA1 Message Date
Miodrag Milanovic
3a811376d9 Made pnacl to compile (nw) 2016-02-26 14:50:09 +01:00
Miodrag Milanovic
2582ce7f16 cleanup (nw) 2016-02-26 14:16:50 +01:00
Miodrag Milanovic
4727b0d97f OS/2 can not support SDL2 which is needed for MAME to run (nw) 2016-02-26 13:20:43 +01:00
Miodrag Milanovic
e740bb6915 Fixing some more Android related things (nw) 2016-02-26 11:59:17 +01:00
Miodrag Milanovic
add7a65f3f Make Android targets compile but not link, using clang compiler in NDK, since GCC will be removed in next one (nw) 2016-02-25 20:44:35 +01:00
Miodrag Milanovic
4173530610 removed nacl, fixed android and pnacl (nw) 2016-02-25 14:58:39 +01:00
Miodrag Milanovic
34acb73777 Makes xcode compile fine if generated files are already there (nw) 2016-02-23 15:57:36 +01:00
Miodrag Milanovic
a87419ea5c Forgot to commit this one (nw) 2016-02-23 14:33:30 +01:00
Miodrag Milanovic
2043e6ce2d added proper platform for xcode (nw) 2016-02-21 21:03:22 +01:00
Miodrag Milanovic
412814f80d changes towards compiling with XCode (nw) 2016-02-21 19:48:16 +01:00
Miodrag Milanovic
9eb2734495 BGFX mandatory requirement (nw) 2016-02-16 17:35:27 +01:00
Miodrag Milanovic
22e6c350ed Enabled BGFX support for SteamLink 2016-02-16 11:36:13 +01:00
Jeffrey Clark
3570d4f0eb check STRIP_SYMBOLS in strip function and add strip support for osx (nw) 2016-02-15 12:09:48 -06:00
Jeffrey Clark
36df7413dc add TOOLCHAIN make flag for explicit toolchain prefix cross compiling (nw) 2016-02-15 12:09:35 -06:00
Miodrag Milanovic
09fd282dc8 fix build on some linuxes (nw) 2016-02-15 11:20:54 +01:00
Miodrag Milanovic
2db4908814 Added lua-zlib, lfs and luv support for LUA, exposed all using luaengine (nw) 2016-02-14 08:16:35 +01:00
dankan1890
4710c9c263 suppressed C4592 warning in VS 2015. (nw) 2016-02-08 01:53:08 +01:00
Miodrag Milanovic
f924d4bd42 link into main project and link deps (nw) 2016-01-31 15:38:51 +01:00
Miodrag Milanovic
042050ef67 Added Google Benchmark library (nw)
Included sample benchmark for eminline for native and noasm
Made GoogleTest compile only if tests are compiled
2016-01-29 11:47:40 +01:00
Miodrag Milanovic
e691634439 Added SteamLink initial support [Sam Lantiga, Miodrag Milanovic] 2016-01-25 20:01:40 +01:00
Miodrag Milanovic
2ac3018ee7 fix start project for custom builds in Visual Studio (nw) 2016-01-21 08:41:13 +01:00
Miodrag Milanovic
4e8e3066f8 reverting:
SHA-1: 1f90ceab07

* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-20 21:42:13 +01:00
Miodrag Milanovic
18ec822ac3 Keep naming of binaries for builds made with SOURCES to be same as usual, (nw)
fixed propagation of flags for builds made with SOURCES
2016-01-17 17:53:03 +01:00
Miodrag Milanovic
56f37631da OS/2 patch [KO Myung-Hun] 2016-01-16 18:02:19 +01:00
Miodrag Milanovic
1f90ceab07 tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-16 14:54:42 +01:00
Justin Kerk
1e61410aa8 Revert "Disable pre-compiled headers on Emscripten for now, fixes build (nw)"
This reverts commit a8a9b4158a.
2016-01-08 15:18:08 +00:00
Justin Kerk
a8a9b4158a Disable pre-compiled headers on Emscripten for now, fixes build (nw) 2016-01-07 23:22:20 +00:00
Miodrag Milanovic
3f4fe77c75 cleaner solution for linking (nw) 2016-01-04 16:33:23 +01:00
Miodrag Milanovic
8172839141 Some cleanup in build scripts, GNU C99 for 3rdparty C files (nw) 2016-01-04 15:31:32 +01:00
Miodrag Milanovic
e0deb80b54 Fix building on clang, executable fail starting due to mixed allocators (nw) 2016-01-04 13:29:42 +01:00
Miodrag Milanovic
698cec6344 Removed FILTER_DEPS, not stable and not functional (nw) 2016-01-03 17:13:16 +01:00
Miodrag Milanovic
729d3d3f16 Make linking of winpthreads static for posix mingw build (nw) 2016-01-01 12:27:00 +01:00
Miodrag Milanovic
f1a0a3cb88 Added pre-compiled headers support to build system (nw) 2016-01-01 08:23:58 +01:00
Miodrag Milanovic
9c2669081c Added platform parameter and some ARM fixes (nw) 2015-12-27 15:35:29 +01:00
Miodrag Milanovic
c8583ebdc9 os calls do not follow MAKE escaping 2015-12-20 09:45:39 +01:00
AJR
ad4d85f68f Fixed wrong number of arguments to makedep.py in SOURCES build 2015-12-19 20:00:22 -05:00
AJR
8567ac0d64 Allow SDLMAME to build on OS X from paths containing spaces 2015-12-19 11:09:57 -05:00
Miodrag Milanovic
379581fb36 macro removal INLINE -> static inline (nw) 2015-12-12 08:58:57 +01:00
Miodrag Milanovic
ee942ae0fb some MSBUILD fixes (nw) 2015-12-10 12:16:06 +01:00
Cowering
00a496face (retrying) fix up some lto things (still can't compile full MAME on Windows) Also add a few msg texts for VS warnings (NW) 2015-12-09 12:58:08 -06:00
Vas Crabb
e706b93447 propagate ARCHOPTS to linker 2015-12-07 22:07:29 +11:00
Miodrag Milanovic
6a765a95ec Added addprojectflags function and added -Wsuggest-override for all that are not 3rdparty projects.
It is place where all additional checks we should put
2015-12-06 17:07:50 +01:00
Miodrag Milanovic
ccc677d0e5 Need this on linux 2015-12-04 20:36:05 +01:00
Miodrag Milanovic
2ce19e896b Removed need for -Wno-c++11-narrowing for clang
and -Wno-unused-result,-Wno-narrowing and -Wno-attributes on gcc (nw)
2015-12-04 20:22:48 +01:00
Miodrag Milanovic
20b32acb8b OSX version is taken on different way so it is considered 6.0 (nw) 2015-12-03 14:50:04 +01:00
Miodrag Milanovic
d9db2350fb OSX version of clang 3.5 is actually 3.4 with features (nw) 2015-12-03 14:40:03 +01:00
Miodrag Milanovic
7433c42f30 it is available in all version from 3.4 (nw) 2015-12-03 14:32:20 +01:00
Miodrag Milanovic
eba667fdb3 fix for QT headers compile as c++14 (nw) 2015-12-03 14:26:00 +01:00
Miodrag Milanovic
29bfbddaac stupid me (nw) 2015-12-03 14:02:36 +01:00
Miodrag Milanovic
871428ef9e Set -std=c++1y to clang 3.4 (nw) 2015-12-03 13:33:40 +01:00
Miodrag Milanovic
b9e242db21 Cleanup of genie.lua (nw) 2015-12-03 11:54:51 +01:00
Miodrag Milanovic
92f81361d6 Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic] 2015-12-03 11:40:45 +01:00
Trammell Hudson
d005322e2b Merge clang++ version 30000 and 30400 sections to enable -Wno-constant-logical-operand 2015-11-28 09:12:34 -05:00
Trammell Hudson
74db76d146 revert sqlite3 changes, update version detection to silence warnings on OSX clang++ 3.0 (issue #480) 2015-11-28 09:06:30 -05:00
Justin Kerk
d1d8a66ab1 Cleanup (nw) 2015-11-25 03:10:20 +00:00
Miodrag Milanovic
8a91bc9f0e disable this for CPP11 builds (nw) 2015-11-19 13:34:44 +01:00
Vas Crabb
05109871be all VMX registers are alike (nw) 2015-11-18 19:32:15 +11:00
David Haywood
15f6df6d66 disable some intel compiler remarks that are shown in a release config (nw) 2015-11-14 19:15:12 +00:00
Miodrag Milanovic
47f03ddabc fix uninitialized class members for bus devices (nw) 2015-11-14 19:05:20 +01:00
Miodrag Milanovic
8c0d01d426 Fix compile for Intel C++ 15 compiler (nw) 2015-11-14 11:52:15 +01:00
Miodrag Milanovic
5deec43cbc update build scripts for rename c - > cpp (nw) 2015-11-08 13:26:29 +01:00
Vas Crabb
8247cab558 make it easier to build multiple configs (nw) 2015-11-02 23:40:03 +11:00
Miodrag Milanovic
8e22b1d22f Renamed DRIVERS parameter to SOURCES since you can add any source you wish to include in target (nw) 2015-10-09 14:13:35 +02: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
Cowering
7c302af80f Allow current toolchain for mingw to work and allow GCC 5.2 to also work if gcc-ar is current enough. Add a little more info about lto (nw) 2015-10-05 10:29:15 -05:00
Miodrag Milanovic
6e70790bf4 removed line commit by mistake (nw) 2015-09-30 17:40:40 +02:00
Miodrag Milanovic
1fc48ce120 move mess into mame (nw) 2015-09-30 17:21:14 +02:00
balr0g
459c86dee3 Fix build with Xcode 7 (nw) 2015-09-18 16:00:03 -04:00
Miodrag Milanovic
c9bde5341d reorganized scripts according to new structure (nw) 2015-09-13 10:17:58 +02:00
Miodrag Milanovic
a4ea92de24 Update scripts for compile with latest BGFX (nw) 2015-09-12 11:06:14 +02:00
Miodrag Milanovic
6359b876b9 made FORCE_VERSION_COMPILE option to be used for build server (nw) 2015-09-05 11:53:19 +02:00
Justin Kerk
988ec56c7b Hopefully fix build (nw) 2015-09-02 13:56:42 -07:00
Justin Kerk
c573df73ec Fix Emscripten compile with GoogleTest (nw)
See https://github.com/kripken/emscripten/issues/3484
2015-09-02 13:03:26 -07:00
yz70s
a765979c61 Disable warnng C4319 with visual studio 2015 (nw) 2015-08-09 15:06:20 +02:00
Cowering
18c9854ee6 scrape this for every bit of info (nw) 2015-07-24 20:48:56 -05:00
Cowering
0eef937287 This lets MAME compile in Arch Linux GCC 5.2. 16G RAM used to prevent crash. compile with 'make SSE3=1 LTO=1'
testing GCC 5.2 MSYS2 now (NW)
2015-07-23 10:34:50 -05:00
Julian Sikorski
1b5d213aaa Added ability to use system PortAudio 2015-07-05 22:08:10 +02:00
Miodrag Milanovic
449a851e34 Fix more driver building, going deeper in checks (nw) 2015-06-20 19:19:03 +02:00
Miodrag Milanovic
239c31b584 Made possible creation of custom builds with given list of drivers included.
Note that game list is parsed so if macros are used they will not be found.
example:
make SUBTARGET=cops -j9 DRIVERS=src/mame/drivers/cops.c
2015-06-20 18:20:44 +02:00
Cowering
9089f704fc keep SSE2 like it was 2015-06-19 20:45:13 -05:00
Cowering
3904c29734 This lets sdlMAME/sdlMESS compile on Fedora GCC 5.1.1 with LTO enabled with line:
make -jX SSE2=1 LTO=1

(pick X wisely as Xx4 link threads will run to speed up lto)

Super Mario 64 runs at 88% on old I7-920 in a VM (from 55%).

Windows Mingw-64 5.1.1 LTO is not possible for now :(

Why do we need to say 'SSE2=1' since MAME now requires a CPU with that for a minimum?

(nw)
2015-06-19 14:29:35 -05:00
balr0g
021aa9eb6c Nope. (nw)
This reverts commit 72794f8ff1.
At least this provides a more useful stacktrace, if anyone wants to
debug.
2015-06-07 12:25:38 -04:00
balr0g
72794f8ff1 Use attribute unused for inlined new/delete. (nw)
This is still not compliant code, and will probably break with LTO,
but is a cleaner fix for the warning. Using this attribute also ensures
that the linker doesn't remove the code.
2015-06-07 12:02:20 -04:00
Miodrag Milanovic
6cade077e0 and remove (nw) 2015-06-07 17:27:58 +02:00
Miodrag Milanovic
48fb1dfb85 lets make it just for mingw (nw) 2015-06-07 16:47:41 +02:00
Miodrag Milanovic
041ba8bc2f placed this back to disable warning on clang (nw) 2015-06-07 14:15:04 +02:00
Miodrag Milanovic
fabe12b282 should go like this (nw) 2015-06-07 13:06:35 +02:00
Miodrag Milanovic
be9551fdde Fix for 64bit build size thanks to Peter Ferrie (nw) 2015-06-07 12:59:55 +02:00
Julian Sikorski
9027ce9575 Added the ability to use system flac, jpeg, lua, sqlite3, portmidi and zlib based on wallyweek's work 2015-06-06 23:39:24 +02:00
Julian Sikorski
13506b6b54 Added OPT_FLAGS back 2015-06-06 13:38:19 +02:00
Miodrag Milanovic
66fec3db63 fix for OG :) (nw) 2015-06-03 08:02:20 +02:00
Olivier Galibert
511762fa2d Allow compiling with shared libraries [O. Galibert]
Put SHLIB=1 in the main makefile, or on the command line.

The idea is to get a *way* faster link with symbols.  It works at
least on linux, with one annoying caveat: you have to be in the
build/projects/sdl/mame/gmake-linux directory to start mame
afterwards.  We're going to move some things around to be able to use
LD_LIBRARY_PATH or have it start as-is from the root.
2015-05-31 13:25:17 +02:00
Miodrag Milanovic
81ee2e603e Removed -Wno-unused-variable for mingw/gcc (nw) 2015-05-31 00:15:46 -04:00
Cowering
f115ab2dd2 Let subtarget MESS (not MAME, yet) compile with Windows GCC 5.1 and lto. I am told 'any' recent GCC for Windows has gcc-ar wrapper, if not, change back the line in toolchain.lua (NW) 2015-05-29 17:43:09 -05:00
Cowering
6df44235c8 oops, forgot one 2015-05-28 17:17:20 -05:00
Cowering
ea2762e799 Merge branch 'master' of https://github.com/mamedev/mame 2015-05-28 17:07:47 -05:00
Miodrag Milanovic
548a982a3c Added skeleton support for Windows Phone and Windows Store - far from working(nw) 2015-05-28 20:06:33 +02:00
Cowering
fa92dbd8aa Merge branch 'master' of https://github.com/mamedev/mame
Conflicts:
	scripts/genie.lua
2015-05-27 11:47:40 -05:00
Cowering
110cbcba86 test 2015-05-27 11:44:12 -05:00
Miodrag Milanovic
b0243d6da9 Removed -Wno-unused-variable for mingw/gcc (nw) 2015-05-27 16:41:00 +02:00