Commit Graph

149 Commits

Author SHA1 Message Date
Jeffrey Clark
4e7f9e86e8 Refactor MACOSX_USE_LIBSDL to USE_LIBSDL for windows and linux static library support (nw) 2016-02-15 12:09:26 -06:00
therealmogminer@gmail.com
b0a7bcd346 Significant speed improvements to the BGFX renderer. [MooglyGuy] 2016-02-15 17:57:28 +01:00
Miodrag Milanovic
b7def3d28c fix for osx and bsd (nw) 2016-02-09 15:13:32 +01:00
Miodrag Milanovic
42622cfe8e replace osd_lock with std::mutex [Miodrag Milanovic] 2016-01-30 20:43:50 +01:00
Stuart Carnie
048fd105db osdmini: fixes build issues 2016-01-29 22:44:18 -07:00
Brad Hughes
2f36228306 XAudio2 support 2016-01-20 23:16:18 -05:00
Miodrag Milanovic
50a72771ff Fixed QT5 linking (nw) 2016-01-09 20:39:09 +01:00
Miodrag Milanovic
6e47d71b83 It is affecting clang 3.6+ 2016-01-08 14:08:49 +01:00
Miodrag Milanovic
b3a224378d Fix compile on clang 3.7+ on linux (nw) 2016-01-08 13:53:57 +01:00
Cesare Falco
2db577c34e Get .ini file default path makefile variable back. 2016-01-05 12:01:50 +01:00
Vas Crabb
2ec885b8b2 don't link metal pre El Capitan 2016-01-05 12:27:03 +11:00
Miodrag Milanovic
433676b7a1 Fixed OSX compile 2016-01-04 19:15:32 +01:00
Miodrag Milanovic
75e80ec4f6 Fix QT5 build on linux by adding -fPIC 2015-12-27 13:47:54 +01:00
Olivier Galibert
9d231a83ad qt5 debugger port [O. Galibert] 2015-12-27 12:58:00 +01:00
Miodrag Milanovic
e756a66b14 qtdebugger as separate lib (nw) 2015-12-26 15:56:13 +01:00
Miodrag Milanovic
46471ac080 Can't do override checks due to QT headers (nw) 2015-12-07 06:57:05 +01: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
Justin Kerk
078d8e099a Emscripten build fixes (nw) 2015-11-21 01:40:59 -08:00
Scott Stone
31cca9ea63 Added info header at the top of each .lua file (nw) 2015-11-14 12:51:21 -05:00
Miodrag Milanovic
d0a4ae59ad added more h files missing in lua scripts (nw) 2015-11-12 13:33:00 +01:00
Miodrag Milanovic
033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Miodrag Milanovic
5deec43cbc update build scripts for rename c - > cpp (nw) 2015-11-08 13:26:29 +01:00
Miodrag Milanovic
01a8a6a208 fix sdl build fix for windows (nw) 2015-10-28 16:02:38 +01:00
Miodrag Milanovic
ee7ff77255 update build scripts and code change in order to fix compile (nw) 2015-09-13 09:20:24 +02:00
Miodrag Milanovic
a4ea92de24 Update scripts for compile with latest BGFX (nw) 2015-09-12 11:06:14 +02:00
Vas Crabb
f500420346 OS/2 patch for 0.164 [KO Myung-Hun] 2015-08-25 13:02:01 +10:00
Olivier Galibert
9485ca9d43 Revert "debugqt: Port to Qt5 [O. Galibert]"
Experience shows it's too early for that.  I'll keep that in a corner
and we'll see again later.
2015-08-01 20:43:47 +02:00
Miodrag Milanovic
fa32ced4ce Fixed VS build (nw) 2015-08-01 10:07:05 +02:00
Olivier Galibert
a83ad4d11f debugqt: Port to Qt5 [O. Galibert] 2015-07-29 11:19:43 +02:00
Cowering
9d0e2427a4 hmm.. new 5.2 mingw seems to need this to pickup sprintf for lto (NW) 2015-07-23 10:46:11 -05:00
Cesare Falco
6cd8271575 Added new SDL_INI_PATH flag 2015-06-06 16:32:04 +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
5ba57c6cde propagate _subtarget in maintargetosdoptions call (nw) 2015-05-21 08:37:59 +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
Parry
05f71a27f9 Drop NO_SDL_GLEXT define on OSX 2015-04-30 14:10:59 +08:00
Miodrag Milanovic
3060bb0637 fix for few more executable files (nw) 2015-04-16 15:26:26 +02:00
Miodrag Milanovic
a50dec8b3c extract libs and liboptions from pkg-config, prepare for future work (nw) 2015-04-16 12:31:53 +02:00
Miodrag Milanovic
af80289b76 fix typo (nw) 2015-04-13 19:00:45 +02:00
Miodrag Milanovic
f6fbdaa2e8 Added QT_HOME to support custom QT installations (nw) 2015-04-13 18:51:07 +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
Vas Crabb
caf4face0d Convert CoreAudio output to use AUGraph in preparation for effects 2015-04-07 21:38:43 +10:00
Vas Crabb
7251c89cf4 Add a crappy utility for editing AU effect presets 2015-04-07 21:38:42 +10:00
Miodrag Milanovic
d5c886c6a6 fixed osdmini build (nw) 2015-04-06 18:28:48 +02:00
Miodrag Milanovic
abf7d057d2 Supported mingw-clang builds (nw) 2015-04-06 11:58:24 +02:00
Miodrag Milanovic
0f3be0c321 back (nw) 2015-04-05 15:04:46 +02:00
Miodrag Milanovic
2c38dd1f34 rolled back, not worth of it (nw) 2015-04-05 14:22:46 +02:00
Miodrag Milanovic
6e0007b83d Made all windows build use icons (nw) 2015-04-05 12:48:28 +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
Vas Crabb
18ec0951bd Add a simple CoreAudio sound output module
It doesn't provide facilities for AU effects, although that could be
added pretty easily if someone wants to.  Advantages over SDL sound
output are simpler code and lower latency.
2015-04-05 01:48:35 +11:00
Miodrag Milanovic
3725b2fdc6 Moved MOC handling in lua (nw) 2015-04-04 16:42:58 +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
Vas Crabb
a119fc50ab Remove some obsolete code, enable MALLOC_DEBUG for SDLWin32 2015-04-04 15:05:21 +11:00
Vas Crabb
4cd434246d Bring back USE_SDL, CYGWIN_BUILD and malloc debugging for Windows OSD 2015-04-04 14:53:47 +11:00
Miodrag Milanovic
86e36b4912 removed includeosd (nw) 2015-04-02 18:04:21 +02:00
Vas Crabb
9d63532184 SDL1 does not work with BFGX 2015-04-03 01:59:42 +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
Miodrag Milanovic
39fc214596 typo fix, SDL compile fix [qmc2] (nw) 2015-04-01 14:08:14 +02: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
Miodrag Milanovic
ec0553414d MSVC build fix (nw) 2015-04-01 10:27:34 +02:00
Vas Crabb
ab50ffac9d Move osdcore.c back into libocore, don't allow libutil to #include osd 2015-04-01 18:50:27 +11: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
1ea04c4eb6 Build Qt debugger on OSX if requested 2015-04-01 12:09:38 +11:00
Vas Crabb
fe9339fa30 Add back DIRECTINPUT config for Windows OSD 2015-04-01 09:49:25 +11:00
Vas Crabb
eb30b3fbb0 Can't use BGFX or QT without X11 on *NIX 2015-04-01 07:41:46 +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
d7d3818ea6 WTF was I thinking 2015-04-01 03:06:55 +11:00
Vas Crabb
1f2763cc32 Restore SDL2_MULTIAPI 2015-04-01 03:03:18 +11:00
Vas Crabb
00bfd00a43 Fix USE_BGFX=0 with windows OSD 2015-04-01 03:03:18 +11:00
Vas Crabb
30ef0cb847 Small cleanup to how macros are defined for SDL OSD 2015-04-01 03:03:17 +11:00
Vas Crabb
6116f8c4fa Restore MESA_INSTALL_ROOT 2015-04-01 01:21:59 +11: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
e5f612d174 Made SDL build to be able to be compiled on VS (nw) 2015-03-31 13:57:02 +02:00
Miodrag Milanovic
636cacd0c8 Removed not needed flag since duplicate has been removed (nw) 2015-03-31 12:11:19 +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
49545f9e84 Remove need for winprefix.h and moved alloca define to osdcomm.h (nw) 2015-03-31 11:09:10 +02:00
Vas Crabb
3567c77114 Restore ledutil for windows builds with TOOLS=1 2015-03-30 19:14:52 +11: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
93025d33c1 Added network flags (nw) 2015-03-29 10:57:10 +02:00
Vas Crabb
c73dbdeaf3 Small cleanup 2015-03-29 18:35:48 +11:00
Vas Crabb
3010be4c30 SDL and Windows strconv are the same thing. 2015-03-29 18:23:02 +11: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 Milanovic
d90b5dd812 fix for osx debugger (nw) 2015-03-28 11:51:25 +01:00
Miodrag Milanovic
7f1ad1db99 Explicit file listing in lua scripts making generate much much faster (nw) 2015-03-28 10:10:03 +01:00
Miodrag Milanovic
aea6bc4bb8 linkoptions for QT are needed (nw) 2015-03-28 07:15:14 +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
Vas Crabb
a9bc80bd4b build into OSD subdirectory for people building multiple OSDs 2015-03-28 16:06:06 +11:00
Vas Crabb
78eedb8aba Move more OSD-specific stuff to OSD scripts 2015-03-28 15:09:22 +11:00
Miodrag Milanovic
e14a06de87 Split OSD per file [qmc2] 2015-03-27 13:01:03 +01:00