Commit Graph

154 Commits

Author SHA1 Message Date
couriersud
5f6e20d6a6 Fix SDL build on linux:
- removed inclusion of SDL headers in all headers.
- replaced those by forward declarations and in one case by a wrapper
class (for a typedef struct).
- added -Wno-strict-prototypes to 7z build (gmake target)
2016-04-09 22:21:58 +02:00
Miodrag Milanovic
50071f4451 Fix windows compile (nw) 2016-04-09 15:22:25 +02:00
Vas Crabb
e925c494fe Update LZMA SDK to 15.14 2016-04-09 21:52:08 +10:00
Olivier Galibert
69f5a2dcc8 Revert "bgfx fix for osx (nw)"
This reverts commit 9d99398208.

Not needed anymore with my previous change.
2016-04-06 09:58:00 +02:00
Miodrag Milanovic
9d99398208 bgfx fix for osx (nw) 2016-04-06 08:35:01 +02:00
Miodrag Milanovic
06415edd9e Added some more files to bgfx build and initialize imgui (nw) 2016-04-05 15:50:08 +02:00
Miodrag Milanovic
6f231bb61b added missing files in build (nw) 2016-04-05 14:50:17 +02:00
Branimir Karadžić
e63f379a0e Update BGFX to latest (nw) 2016-04-04 13:52:25 +02:00
Miodrag Milanovic
731abe8ba0 Fixed joystick on Android preventing application to crash, cleanup init for SDL in total (nw) 2016-04-02 15:37:08 +02:00
Miodrag Milanovic
9b3788035c scrclean on lua scripts (nw) 2016-03-29 08:49:47 +02:00
Miodrag Milanovic
953d0f9b17 fix typo (nw) 2016-03-29 08:26:11 +02:00
Miodrag Milanovic
ee3edd0e2b Add missing include (nw) 2016-03-29 08:24:17 +02:00
Jeffrey Clark
9d9c8fad6a Extend system library support (nw)
Extend USE_SYSTEM_LIB_* to support providing the library name and include directory.
To link against system specific lib names and header path: (ref #711)

USE_SYSTEM_LIB_LUA=lua5.3:/usr/include/lua5.3
2016-03-28 22:26:52 -05:00
Miodrag Milanovic
2e3670efba Small issues fix (nw) 2016-03-27 21:09:15 +02:00
Miodrag Milanovic
158c90cf11 Initial work to make MAME work on Android [Miodrag Milanovic] 2016-03-27 17:35:23 +02:00
Miodrag Milanovic
3bd130ebce Change BGFX_CONFIG_MAX_FRAME_BUFFERS on proper way (nw) 2016-03-24 09:40:29 +01:00
Miodrag Milanovic
be38f0515b Now shader compile tools are built on host machine (nw) 2016-03-20 16:50:14 +01:00
Miodrag Milanovic
95a2e4c2c6 compile BGFX for RPI as well (nw) 2016-03-19 16:09:34 +01:00
Julian Sikorski
d0f99d22a7 Added ability to build using system libuv (1.8.0 or higher required) 2016-03-12 13:07:14 +01:00
Miodrag Milanovic
2bf46f72ed Update to use with latest android nkd (nw) 2016-03-11 20:24:20 +01:00
Miodrag Milanovic
858c1002d1 compile with latest bgfx,bx (nw) 2016-03-08 12:58:10 +01:00
Miodrag Milanovic
24276fc7db removed Apache 2 licensed library since it is not possible to mix with GPL2 (nw) 2016-03-04 20:18:47 +01:00
Miodrag Milanovic
23c28c48af Build SDL2 for Android (nw) 2016-02-29 16:20:51 +01:00
Miodrag Milanovic
912598030e added compiling SDL2 for Android (nw) 2016-02-28 20:28:42 +01:00
Miodrag Milanovic
1adc64573f compiles but crash on OSX with bundled one (nw) 2016-02-28 15:07:43 +01:00
Miodrag Milanovic
a17d1385c4 Separated windows only part in SDL2 build and prepared osx one (nw) 2016-02-28 12:58:04 +01:00
Miodrag Milanovic
adfae5ffe5 make possible to select if bundled SDL2 is used, made mingw and vs compile so far (nw) 2016-02-27 18:48:03 +01:00
Miodrag Milanovic
ea6b854844 Made Visual Studio use by default bundled SDL2 (nw) 2016-02-27 16:53:49 +01:00
Miodrag Milanovic
3a811376d9 Made pnacl to compile (nw) 2016-02-26 14:50:09 +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
1a8d5a27d9 pnacl compile fixes (nw) 2016-02-25 14:58:39 +01:00
Miodrag Milanovic
8dff2200d0 And I hate you too XCode (nw) 2016-02-22 21:11:57 +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
1ddc780160 osx clang, silence flac unknown attribute error (nw) 2016-02-15 12:12:57 -06: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
e3b80070a5 Suppressed warning C4477 in Visual Studio 2015. 2016-01-31 18:43:13 +01:00
Miodrag Milanovic
c152866e02 added http-parser (nw) 2016-01-31 15:34:40 +01:00
Miodrag Milanovic
7d915c5a79 Added script for building libuv (nw) 2016-01-31 15:28:49 +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
2382be9ea8 removed jsoncpp (nw) 2016-01-09 21:11:04 +01:00
Miodrag Milanovic
433676b7a1 Fixed OSX compile 2016-01-04 19:15:32 +01:00
Miodrag Milanovic
57d91cae00 Better fix (nw) 2016-01-04 15:43:02 +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
Justin Kerk
85d74eb2c9 Emscripten build fixes (nw) 2015-12-19 08:17:34 +00:00
Miodrag Milanovic
c15d7adef3 compile parameters specific for 3rdparty component (nw) 2015-12-12 15:03:22 +01:00
Miodrag Milanovic
74cfff6fc6 Update to LUA 5.2.3, so source changes (nw) 2015-12-12 14:49:48 +01:00
Miodrag Milanovic
bb6ca65238 wrong place (nw) 2015-12-03 13:20:57 +01:00
Miodrag Milanovic
1af304131e fix compile on clang 3.7 (nw) 2015-12-03 13:18:20 +01:00
Miodrag Milanovic
6bea96d5f2 enabled compiling part of bgfx that required c++11 (nw) 2015-12-03 12:04:08 +01:00
Justin Kerk
078d8e099a Emscripten build fixes (nw) 2015-11-21 01:40:59 -08:00
Miodrag Milanovic
8a91bc9f0e disable this for CPP11 builds (nw) 2015-11-19 13:34:44 +01:00
Scott Stone
cff363eec5 Merge branch 'master' of https://github.com/mamedev/mame 2015-11-14 12:51:37 -05: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
8c0d01d426 Fix compile for Intel C++ 15 compiler (nw) 2015-11-14 11:52:15 +01:00
Miodrag Milanovic
cf330fa6de Relax dependencies for softfloat (nw) 2015-11-08 17:38:37 +01:00
Miodrag Milanovic
033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Miodrag Milanovic
b6707c3bb5 Removed mongoose due to restricted license and webserver wip till code is restructured (nw) 2015-11-04 18:55:36 +01:00
Miodrag Milanovic
056fdc89c5 fix VS build (nw) 2015-11-04 14:16:42 +01:00
Miodrag Milanovic
ecdc99b0e6 added clang and gcc flags needed for compilation of 3rdparty libraries, also removed checking for shadowing in them (nw) 2015-11-04 11:21:08 +01:00
Miodrag Milanovic
4b75c57008 set only needed VS compile flags for 3rdparty (nw)
there are still those in main file, but now can be removed by fixing our code
2015-11-03 20:55:18 +01:00
Miodrag Milanovic
b8efd210b1 fix VS build (nw) 2015-11-02 17:37:18 +01:00
Miodrag Milanovic
c050685c98 Fixed mingw clang build (nw) 2015-11-02 11:13:12 +01:00
Miodrag Milanovic
58bf8e3345 Disabled DX12 on mingw since it is not working (nw) 2015-10-15 10:52:18 +02:00
Miodrag Milanovic
e3a6e9b0b8 removed deps from 3rdparty to osd (nw) 2015-09-13 12:45:56 +02:00
Miodrag Milanovic
494ea9fab0 added missing file for OSX (nw) 2015-09-12 11:56:19 +02:00
Miodrag Milanovic
a4ea92de24 Update scripts for compile with latest BGFX (nw) 2015-09-12 11:06:14 +02:00
Miodrag Milanovic
70bddf12f5 Added GoogleTest and convert tests to us it (nw) 2015-09-02 13:50:20 +02:00
Thomas Klausner
910f0215e8 Add NetBSD support.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 21:52:52 +02:00
Julian Sikorski
1b5d213aaa Added ability to use system PortAudio 2015-07-05 22:08:10 +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
Miodrag Milanovic
f23ff0f6f0 fix compile on GCC 4.4 on old Ubuntu (nw) 2015-05-31 12:37:01 +02:00
Miodrag Milanovic
6bd3dff96f removed duplicated compile option (nw) 2015-05-31 10:58:50 +02:00
Miodrag Milanovic
0c45c0f1f6 fix for clang (nw) 2015-05-31 08:59:21 +02:00
Miodrag Milanovic
02751b71e6 Fix for osx 10.6.x build (nw) 2015-05-31 08:53:12 +02:00
Miodrag Milanovic
81ee2e603e Removed -Wno-unused-variable for mingw/gcc (nw) 2015-05-31 00:15:46 -04:00
Miodrag Milanovic
d3839b4058 fixed clang (nw) 2015-05-29 07:59:09 +02:00
Cowering
ea2762e799 Merge branch 'master' of https://github.com/mamedev/mame 2015-05-28 17:07:47 -05:00
Peter Ferrie
de21d38efb 3rdparty.lua: add check for nil first (nw) 2015-05-28 09:38:32 -07:00
Miodrag Milanovic
de8da0cc52 fix for one more warning (nw) 2015-05-28 09:56:31 +02:00
Miodrag Milanovic
4a07723b60 set for all clangs (nw) 2015-05-28 09:07:30 +02:00
Miodrag Milanovic
3b3f872d68 ups (nw) 2015-05-28 09:00:38 +02:00
Miodrag Milanovic
bef4e6d73a fix for unknown warning options for clang 3.5 (nw) 2015-05-28 08:48:03 +02:00
Miodrag Milanovic
58a4e45289 Fixed compile for portaudio on 32bit and windows clang (nw) 2015-05-28 08:43:47 +02:00
Miodrag Milanovic
b0243d6da9 Removed -Wno-unused-variable for mingw/gcc (nw) 2015-05-27 16:41:00 +02:00
Miodrag Milanovic
2e772fb160 Added lua script/makefile changes to support building tests and portaudio (nw) 2015-05-27 15:02:33 +02:00
couriersud
916d03981c Document the changes necessary to compile lua using c++.
This may be necessary to completely avoid the usage
of setjmp in MAME. (nw)
2015-05-17 23:13:35 +02:00
balr0g
2d12aacd49 Fix NO_USE_MIDI 2015-05-15 10:56:08 -04: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
dc35f927f7 made libflac possible to compile under xcode, and simplify for other (nw) 2015-04-17 11:24:33 +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
32dc24420c Some changes for FreeBSD and Solaris, will be sent upstream as well (nw) 2015-04-10 12:37:34 +02:00
Miodrag Milanovic
86e36b4912 removed includeosd (nw) 2015-04-02 18:04:21 +02:00
Miodrag Milanovic
26214cc6ec Update to latest bgfx and fix for latest mingw releases (nw) 2015-04-01 12:45:19 +02:00
Miodrag Milanovic
de541d79ee removed windows/osinline.h and placed MSVC dependent files in top folder (nw)
moved MSVC defines from winprefix.h to osdcomm.h
removed empty file compilation - porttime.c
removed osinline.h in windows and sdl and change files using them.
2015-03-30 20:30:18 +02:00
Miodrag Milanovic
72d5222016 made bgfx compile on more platforms (nw) 2015-03-29 14:29:06 +02:00