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
Cowering
228b752d27
Merge branch 'master' of https://github.com/mamedev/mame
2015-05-27 09:28:41 -05:00
Cowering
6dfb5511af
test
2015-05-27 09:28:37 -05:00
Miodrag Milanovic
2e772fb160
Added lua script/makefile changes to support building tests and portaudio (nw)
2015-05-27 15:02:33 +02:00
balr0g
79e17d0ad3
Remove nonstandard inline overloads (nw)
2015-05-16 15:57:07 -04:00
balr0g
9aa1670e6f
Warn for self-assignment (nw)
2015-05-16 15:28:47 -04:00
Wilbert Pol
c196e94f77
whoops? (nw)
2015-05-16 11:01:19 +02:00
balr0g
323c298849
Clang supports -Wshadow, so allow it
2015-05-15 22:05:55 -04:00
Miodrag Milanovic
1e90d2ffdd
added some flags for VS build for Peter (nw)
2015-05-15 18:45:23 +02:00
Cesare Falco
7652d47d8e
Add makefile switch to choose linking against bundled OR system expat library.
2015-05-11 09:37:45 +02:00
Miodrag Milanovic
ca37d40f69
Removed comments and added generic license for whole team on top (nw)
2015-05-09 16:05:30 +02:00
Miodrag Milanovic
5df1b60963
MAME now represent full build, for building MESS drivers only use [Miodrag Milanovic]
...
make SUBTARGET=mess, for building only Arcades drivers only use:
make SUBTARGET=arcade
2015-05-09 15:10:29 +02:00
Miodrag Milanovic
d33822a35c
ssues with white-space in MAME_DIR [qmc2]
2015-04-30 13:20:36 +02:00
Miodrag Milanovic
3a37417a6b
use target suffixes only for main executable (nw)
2015-04-25 13:02:38 +02:00
Miodrag Milanovic
45d4aed8b7
do not strip by default
2015-04-22 14:24:41 +02:00
Miodrag Milanovic
3827f898ab
Renamed to STRIP_SYMBOLS and made logic more clear (nw)
2015-04-22 14:23:49 +02:00
Miodrag Milanovic
073fd3f7d4
Added NO_STRIPPING option and enabled stripping of executable by default (nw)
2015-04-19 16:21:36 +02:00
Miodrag Milanovic
f56db1ff3f
fixed android compile (nw)
2015-04-18 12:51:33 +02:00
couriersud
0d60fe7805
Make sure USE_OPENMP is passed via define. (nw)
2015-04-17 18:05:01 +02:00
couriersud
119d23192b
Fix OPENMP linking. (nw)
2015-04-16 23:44:30 +02:00
Miodrag Milanovic
08747b36ec
test for linking (nw)
2015-04-16 13:44:11 +02:00
Miodrag Milanovic
74c337de45
Should speedup OSX builds (nw)
2015-04-15 13:59:10 +02:00
Miodrag Milanovic
59e60e47df
Added SHADOW_CHECK parameter so we can work on shadowing issues in our code (nw)
2015-04-11 08:46:02 +02:00
Miodrag Milanovic
7950ff092e
Make it work on VS2010 (nw)
2015-04-11 07:29:41 +02:00
Miodrag Milanovic
9458659b71
VS2015 compile works (nw)
2015-04-10 15:34:16 +02:00
Miodrag Milanovic
5e79b9c0e1
Fixes for solaris 11 build (nw)
2015-04-10 13:56:33 +02:00
Miodrag Milanovic
32dc24420c
Some changes for FreeBSD and Solaris, will be sent upstream as well (nw)
2015-04-10 12:37:34 +02:00
Miodrag Milanovic
73dfafaa95
removed vconv, updated warnings/error for vs and icl (nw)
2015-04-09 13:05:10 +02:00
Miodrag Milanovic
899f23a7ec
Added PYTHON_EXECUTABLE to use differently named python executable(nw)
2015-04-08 14:19:43 +02:00
Miodrag Milanovic
cc35d05ec0
added SEPARATE_BIN option to put executable files in bin folder and not in main (useful for continuous integration )(nw)
2015-04-08 08:52:02 +02:00
Miodrag Milanovic
209734925f
Added FILTER_DEPS option for post compile filtering (nw)
2015-04-07 13:23:31 +02:00
Miodrag Milanovic
c562cfb1c2
well it helps some environments, back till deps are solved
2015-04-07 07:27:02 +02:00
Miodrag Milanovic
60d67c8c12
my mistake (nw)
2015-04-06 18:52:40 +02:00
Miodrag Milanovic
13f137dde7
And one more (nw)
2015-04-06 16:33:21 +02:00
Miodrag Milanovic
1ff712db7a
resurrected some more compile options (nw)
2015-04-06 16:27:14 +02:00
Miodrag Milanovic
3ffde3b978
postcompile task is unstable, commented for now (nw)
2015-04-06 13:21:28 +02:00
Miodrag Milanovic
eb8b8902d0
Fix for PROFILER build (nw)
2015-04-06 12:37:14 +02:00
Miodrag Milanovic
f0b6bb5407
removed premake.make.linkoptions_after, need better static library dependency solution (nw)
2015-04-06 11:54:03 +02:00
Miodrag Milanovic
1de80e729e
macosx build fix (nw)
2015-04-06 10:46:21 +02:00
Oliver Stöneberg
3a40df147d
make DEBUG=1 PROFILER=0 actually work (nw)
...
also removed FASTDEBUG hack made obsolete by this fix
2015-04-05 21:38:28 +02:00
Miodrag Milanovic
b0dee85979
Selected Full Optimization for Release Visual Studio builds (nw)
2015-04-05 15:15:02 +02:00
Miodrag Milanovic
c8b9fc1efb
Fixed linking on some linux platforms
2015-04-05 10:37:11 +02:00
Miodrag Milanovic
9c6fa77b47
Implemented filtering of dependency files, only active if machine have awk or gawk installed (nw)
2015-04-04 19:57:12 +02:00
Miodrag Milanovic
6f0fd1a366
Merge branch 'master' of https://github.com/mamedev/mame
2015-04-04 14:44:22 +02:00
Miodrag Milanovic
1026d09afa
Moved creation of most non-layout files out of makefile (nw)
2015-04-04 14:44:06 +02:00
Vas Crabb
73f53bb15e
* Take more link dependencies caused by OSD out of genie.lua
...
* Always dynamically link SDL on Windows
* Fix SDL1 build on Windows
2015-04-04 18:25:04 +11:00
Vas Crabb
f947a9b160
Harmonise targetos between genie.lua and sdl{,_config}.lua
2015-04-04 15:13:48 +11:00
Miodrag Milanovic
66cbe9eee4
removed os_version, since it is not used anymore (nw)
2015-04-03 15:30:56 +02:00
Vas Crabb
0a1b6b66b0
Fix warning with some clang configurations, don't automatically disable bgfx for 10.5 Leopard
2015-04-03 08:14:30 +11:00
Miodrag Milanovic
e97c4afe1f
Merge branch 'master' of https://github.com/mamedev/mame
2015-04-02 17:39:00 +02:00
Miodrag Milanovic
23de91ccde
Fix for backtick [qmc2](nw)
2015-04-02 19:04:09 +02:00
Miodrag Milanovic
86e36b4912
removed includeosd (nw)
2015-04-02 18:04:21 +02:00
Miodrag Milanovic
0de3599a07
xcode4 fixed (nw)
2015-04-02 17:38:28 +02:00
Vas Crabb
1532f81232
Enable BGFX by default on Snow Leopard
2015-04-03 01:54:26 +11:00
Vas Crabb
453fd07fa0
Add a nice wrapper for doing backtick-like processing of command output
2015-04-02 22:53:14 +11:00
Vas Crabb
a63bd12019
Add back support for big endian targets including OSX-PPC
2015-04-02 22:26:35 +11:00
Miodrag Milanovic
627b7c61dc
Ok shuffling done
2015-04-01 12:02:13 +02:00
Miodrag Milanovic
9207811ed5
fix it properly (nw)
2015-04-01 11:06:53 +02:00
Miodrag Milanovic
42ffb726fa
uf reverting breaks mingw (nw)
2015-04-01 10:57:03 +02:00
Miodrag Milanovic
d504fa25ff
moved unicode specific build defines in genie.lua to fix tools build (nw)
2015-04-01 10:53:26 +02:00
Vas Crabb
5ca7080703
Link osdnet into a library reflecting its location, define USE_NETWORK properly, don't use SDL in non-SDL-specific macros
2015-04-01 18:00:35 +11:00
Vas Crabb
19d52cef70
Bring back NOASM
2015-04-01 16:12:03 +11:00
Vas Crabb
fe9339fa30
Add back DIRECTINPUT config for Windows OSD
2015-04-01 09:49:25 +11:00
Vas Crabb
4d84885a29
Refactor out common OSD modules into separate lua file
2015-04-01 07:29:54 +11:00
Vas Crabb
b64e4ecee5
Restore DONT_USE_NETWORK
2015-04-01 03:44:38 +11:00
Vas Crabb
399a5f914b
Get rid of unnecessary distro nonsense
2015-04-01 03:03:17 +11:00
Miodrag Milanovic
5c03885252
Merge branch 'master' of https://github.com/mamedev/mame
2015-03-31 16:24:43 +02:00
Vas Crabb
dbc99041c3
Restore NO_OPENGL and USE_DISPATCH_GL
2015-04-01 01:21:59 +11:00
Vas Crabb
9a2c6d95c8
Restore NO_USE_MIDI and some more OS support from the old SDL makefile
2015-04-01 01:21:59 +11:00
Miodrag Milanovic
5221cab621
create separate VisualStudio group for 3rdparty (nw)
2015-03-31 16:19:30 +02:00
Vas Crabb
1f163a762e
Get NO_X11, NO_USE_XINPUT and SDL_LIBVER working on Linux
2015-03-31 20:46:51 +11:00
Vas Crabb
ea348ff9f1
Bring back some SDL OSD configurability (WIP)
2015-03-31 20:46:51 +11:00
Miodrag Milanovic
df90d5068a
Update to latest 3rdparty, fixes issues on OpenGL 2.1 for bgfx (nw)
2015-03-31 08:17:12 +02:00
Miodrag Milanovic
2f3d1de477
Added IgnoreLDFlags, change sent upstream (nw)
2015-03-30 15:24:18 +02:00
Curt Coder
1bc42a863e
OS X 10.10 build fix by Micko. (nw)
2015-03-30 09:39:14 +03:00
couriersud
a67f2cb095
Fix compile. (nw)
2015-03-29 22:50:55 +02:00
couriersud
4a6023e471
Added two more options to the build system:
...
USE_QT: Compile the QT Debugger. Default is USE_QT=1 (except macosx),
use USE_QT=0 to disable.
LDOPTS: Optional LDFLAGs.
These are mainly used for cross compilation. The following will compile
a windows SDL build without QT debugger on linux:
make TARGETOS=windows PTR64=1 OSD=sdl OS=linux \
OVERRIDE_CC="@x86_64-w64-mingw32-gcc" \
OVERRIDE_CXX="@x86_64-w64-mingw32-g++" \
OVERRIDE_LD="x86_64-w64-mingw32-g++" \
WINDRES="x86_64-w64-mingw32-windres" \
USE_QT=0 \
ARCHOPTS="-idirafter ${MINGW64DIR}/x86_64-w64-mingw32/include/ \
-I${MINGW64DIR}/Qt/include/ -v" SUBTARGET=tiny MINGW64=/usr \ \
LDOPTS="-L/mnt/mfhome/andre/mame/w64crosslibs"
2015-03-29 18:58:39 +02:00
Miodrag Milanovic
c95c00c8c0
Separate OS and TARGETOS recognition and supported more platforms (nw)
2015-03-29 15:17:21 +02:00
Vas Crabb
c878883667
Remove all the stuff that causes driver and emu sources to be compiled
...
differently with different OSDs
Switch back to building for all OSDs in common directory
Move more OSD-specific stuff into OSD scripts
It still isn't completely safe to be building all OSD into same directory
Common OSD "module" files, e.g. debuggers and renderers, build with
different options for each OSD. It works at the moment, but you will end
up with slightly different executables depending on the order you build
OSDs.
2015-03-29 15:02:23 +11:00
Miodrag Milanović
f2d6f4cde9
Commented until confirmed working on all platforms
2015-03-28 21:18:27 +01:00
Miodrag Milanovic
76803f7337
Added GAWK script to make deps more sane. thanks to OG.
...
For those not having latest build tools download :
http://gnuwin32.sourceforge.net/downlinks/gawk-bin-zip.php
and put in bin folder of mingw so it is in path
2015-03-28 20:54:22 +01:00
Miodrag Milanovic
64e76caae5
Added NoDependency flag to disable dependency file creation, until
...
create sane exclude of specific paths (nw)
2015-03-28 18:15:33 +01:00
Miodrag Milanovic
6825ee0a55
Made ume target include mame and mess targets (nw)
2015-03-28 15:19:21 +01:00
Miodrag Milanovic
ce5ccff643
added NOWERROR support (nw)
2015-03-28 07:03:44 +01:00
Vas Crabb
4303fbc35c
Put some OSD libs back in main GENie file to fix WinSDL build for now
2015-03-28 16:20:04 +11:00