R. Belmont
e84a738432
Fix Mac Clang build (nw)
2020-05-30 17:00:56 -04:00
Patrick Mackinlay
45615b7f4b
asmjit: new 3rdparty library
2020-05-28 20:24:40 +07:00
smf-
90cdeaad89
fixed stray character (nw)
2020-04-25 21:01:00 +01:00
smf-
ad819a3243
appease vs2019_clang with llvm 10.0
2020-04-25 20:52:35 +01:00
smf-
42e8d29742
unbreak vs2019 after 822e051896
(nw)
2020-04-25 03:40:45 +01:00
smf-
822e051896
fixes for clang 10.0.0 misleading indentation and xor used as a pow warnings (nw)
2020-04-23 17:04:29 +01:00
Vas Crabb
ddfe149872
(nw) It helps if you're using the same data types in both places (VGM
...
visualiser device and WDL FFT libarary).
I changed the VGM visualiser to use single-precision float which is the
default for WDL FFT. GCC's loop vectoriser can make better use of SSE
with single-precision maths, and the extra precision shouldn't be needed
for the visualisation. If this is a problem, let me know and I'll
revert this and flip the WDL FFT library over the other way.
2020-03-07 07:01:48 +11:00
Vas Crabb
11ac7454db
Maintenance:
...
* Removed empty nl_examples from dist.mak
* Added copyright acknowledgements and full text of licenses to binary distribution
* Fixed up the list of third-party libraries
* Moved WDL fft.c to 3rdparty
2020-03-04 22:41:15 +11:00
yz70s
00ac4f46f5
Lower number of warnings disabled with visual studio from 71 to 27 (nw)
...
And most of the remaining ones could be removed with simple code
modifications.
2020-01-02 12:36:09 +01:00
algestam
d4c94b861b
Add bgfx file for asmjs build (nw)
2019-10-21 18:01:36 +00:00
algestam
4d3a474283
Fix bimg build for asmjs (nw)
2019-10-21 18:01:36 +00:00
Julian Sikorski
6e66a83642
Odroid n2 build fixes ( #5751 )
...
* Allow specifying NO_OPENGL manually
* Switch bgfx to OpenGL ES renderer if NO_X11 is specified
* Only link against EGL when NO_X11 is specified on linux, netbsd and openbsd
* Only switch bgfx to OpenGL ES on linux, netbsd and openbsd
* Indentation fix
2019-10-18 10:31:08 -04:00
Julian Sikorski
5ff784e58c
-x c++ should not be applied to targets like msvc
2019-10-15 19:40:32 +02:00
AJR
73c4665039
Fix BGFX build on older OS X systems (nw)
...
The Vulkan renderer has to be disabled on Yosemite and older because its backend depends on Metal.
2019-10-14 07:47:37 -04:00
smf-
cd6b9ac9be
fix for clang 9.0.0 on windows (nw)
2019-10-13 19:56:41 +01:00
Julian Sikorski
0837e7451a
WIP: sync bgfx, bx and bimg with latest upstream ( #5723 )
...
* Sync with bgfx upstream revision b91d0b6
* Sync with bx upstream revision d60912b
* Sync with bimg upstream revision bd81f60
* Add astc-codec decoder
* Rename VertexDecl to VertexLayout
* Rename UniformType enum Int1 to Sampler.
* Add NVN stub
* Fix unused-const-variable error on macOS
* Drop redundant explicit language parameters
buildoptions_cpp are only applied to c++ files and buildoptions_objcpp are only
applied to objective c++ files. As such, hardcoding -x offers no benefit while
preventing overrides (such as one needed by 3rdparty/bgfx/src/renderer_vk.cpp on
macOS) from working.
* Re-introduce -x c++ in places where C code is compiled as C++ to prevent clang from throwing a warning
* Build bgfx as Objective-C++ on macOS
It is needed due to included headers
* Enable Direct3D12 and Vulkan bgfx rendering backends
* Enable building of spirv shaders
* Properly escape /c in cmd call
* Comment out dx12 bgfx renderer
* Honor VERBOSE setting during shaders build
* Only invert hlsl shader XYZ_TO_sRGB matrix for opengl
* Add spirv shaders
* OpenGL ES needs transposed matrix too
* Metal needs transposed matrix as well
2019-10-13 07:50:38 -04:00
smf-
a42f6019b6
Fix for Visual Studio builds (nw)
2019-10-01 13:15:38 +01:00
Vas Crabb
97b6717027
(nw) Clean up the mess on master
...
This effectively reverts b380514764
and
c24473ddff
, restoring the state at
598cd52272
.
Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline. When things like this happen, it wastes
everyone's time. I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764
Revert "conflict resolution (nw)"
...
This reverts commit c24473ddff
, reversing
changes made to 009cba4fb8
.
2019-03-25 23:13:40 +01:00
Peter Ferrie
e769e76ce4
enable sub-second snapshot timers (nw) ( #4493 )
...
* enable sub-second snapshot timers (nw)
* switch to attotime, accept doubles
* support LLVM extension in MSVC
make vsllvm
using extension from here:
https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
2019-02-04 13:05:46 -05:00
mooglyguy
f25021c47f
Actually, let's not completely break compilation with MSVC just because someone is really enthusiastic about unsupported build flags.
2018-12-16 17:04:54 +01:00
Celelibi
2f70f9698e
Fix compilation errors with -Og
...
Signed-off-by: Celelibi <celelibi@gmail.com>
2018-12-11 14:26:30 +01:00
mooglyguy
0bd02131b6
3rdparty: Updated bgfx, bimg, and bx to latest upstream. [Ryan Holtz]
2018-12-05 19:45:08 +01:00
Patrick Mackinlay
4f9ef3e373
softfloat3: fix msvc build (nw) ( #3566 )
...
* softfloat3: fix msvc build (nw)
Is this how we do these things? I assume we don't touch the library code itself, and have to "fix" any problems via this header instead?
* softfloat3: do we like this better? (nw)
* softfloat3: it gets the hose again (nw)
* softfloat3: sonofa (nw)
2018-05-14 09:18:24 -04:00
arbee
62be291842
Initial import of SoftFloat release 3E [R. Belmont]
...
This is a pre-usage import so everyone can get things in line for various compilers. GCC/Clang should be OK on most targets as-is;
MSVC may need to edit 3rdparty/softfloat3/build/MAME/build.h to conform. Please report failure/success with various compilers.
2018-05-13 19:52:33 -04:00
Vas Crabb
25f84e3bf0
srcclean and manual cleanups (nw)
...
please people, remember to keep source UTF-8 and if you're committing on behalf of others, clean up indents to meet MAME conventions
anyone can run srcclean over a submission and see what will get hit
2017-12-24 15:03:04 +11:00
Miodrag Milanovic
3917627494
Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
2017-12-01 13:22:27 +01: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
cracyc
4ebc18aeec
linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
...
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
Vas Crabb
dac6dc4f62
srcclean (nw)
2017-04-23 12:27:42 +10:00
Miodrag Milanovic
eb04392728
well issue is on any gcc 5.x (nw)
2017-03-30 08:50:24 +02:00
Miodrag Milanovic
3fff3faf6c
proper fix (nw)
2017-03-30 08:36:15 +02:00
Miodrag Milanovic
0921d7aaae
2nd try (nw)
2017-03-29 18:14:35 +02:00
Miodrag Milanovic
456d9e3b47
Fix linux compile (nw)
2017-03-29 17:58:36 +02:00
Branimir Karadžić
49f7c99c77
Update BGFX and BX (nw)
2017-03-29 17:09:40 +02:00
Vas Crabb
8f15315a52
srcclean (nw)
2017-02-19 11:40:55 +11:00
Miodrag Milanovic
18882607f9
Removed not needed files from bgfx build (nw)
2017-02-05 15:29:29 +01:00
Miodrag Milanovic
00ad4ab0ae
Update build scripts, BX is now static library (nw)
2017-02-05 14:15:25 +01:00
Vas Crabb
110bc692fa
portaudio needs COM (nw)
2017-01-23 19:12:47 +11:00
Vas Crabb
edf64df1db
srcclean (nw)
2017-01-22 15:37:37 +11:00
intealls
e74399a722
fix msvc compile
2017-01-14 23:34:33 +01:00
inte alls
cd03a64284
Initial PortAudio backend with build script changes to support library version 20161030
2017-01-11 20:24:00 +01:00
Nathan Woods
5be1b8e6e0
Introduced utf8proc and created wrapper code to expose a prettier API
2016-12-31 11:17:07 -05:00
Vas Crabb
7238415d1f
srcclean (nw)
2016-11-27 09:56:49 +11:00
Brad Hughes
f9a6e8711b
Remove unneeded 7z file that is unsupported by UWP (nw)
2016-11-19 18:47:49 -05:00
Vas Crabb
bb99eba11d
Update LZMA to 16.04 (security and portability fixes)
2016-11-18 20:37:20 +11:00
Miodrag Milanovic
8e61a7d3d3
Added VS2017 support into project files (nw)
2016-11-16 21:00:29 +01:00
Miodrag Milanovic
47a05778bf
Updated SDL2 to 2.0.5 (nw)
2016-11-16 16:28:01 +01:00
Miodrag Milanovic
0f877e08b3
Fixed android build (nw)
2016-11-10 19:14:44 +01:00
Miodrag Milanovic
a18497e7a2
Some more work on UWP (nw)
2016-11-10 13:13:51 +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
cf4a8b9e03
resurected sqlite3 and lsqlite3 (nw)
2016-11-07 16:12:06 +01:00
Miodrag Milanovic
421b5e2638
Added lua-linenoise by Carls request (nw)
2016-11-04 15:25:21 +01:00
Branimir Karadžić
a3b4058bf7
Updated BGFX and BX and recompiled shaders (nw)
2016-10-29 09:11:50 +02:00
Vas Crabb
129c0feeed
srcclean (nw)
2016-10-23 22:36:24 +11:00
Miodrag Milanovic
f5d88ac12e
fix VS build (noticed only when using MSBUILD=1) (nw)
2016-10-23 11:36:36 +02:00
Miodrag Milanovic
3628549385
Added more warning disable to support compile on various clang versions (nw)
2016-10-08 09:37:31 +02:00
Miodrag Milanovic
31c8b10479
Fix compile (nw)
2016-10-07 14:56:47 +02:00
Miodrag Milanovic
c0a5494de5
Replaced code usage of libuv with asio library (nw)
2016-10-07 14:15:01 +02:00
Miodrag Milanovic
9a8964d5d0
Fix build (nw)
2016-09-03 13:53:44 +02:00
Vas Crabb
234e91f9fb
Add Lua-cleaning ability to srcclean
2016-08-30 14:57:38 +10: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
b966180061
Compile netlist and lua only if used (nw)
2016-08-12 15:03:45 +02:00
Miodrag Milanovic
3917850b61
Update BX and BGFX (nw)
2016-08-06 14:20:16 +02:00
Miodrag Milanovic
58f3467d59
temp for mingw gcc 6.1 till update bgfx code (nw)
2016-07-20 17:10:06 +02:00
Jeffrey Clark
245b8d4163
android strip SDL lib (nw)
2016-06-30 16:26:44 -05:00
Miodrag Milanovic
8c87ea208c
Removed not needed files from compiling (nw)
2016-06-16 13:37:24 +02: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
d04f921034
removed not used libraries, and commented portaudio that will be used but no need for now (nw)
2016-05-31 20:03:39 +02:00
Miodrag Milanovic
293103ce8c
proper patch already applied upstream (nw)
2016-05-28 13:22:03 +02:00
Miodrag Milanovic
7db8fe18f7
we are not using pipes so no problem, but there is something wrong here (nw)
2016-05-28 12:22:55 +02:00
Miodrag Milanovic
79fa1090cf
fix compile issue (nw)
2016-05-27 21:14:59 +02:00
Miodrag Milanovic
cc6d5a643d
try to support older xcode (nw)
2016-05-16 14:25:49 +02:00
Miodrag Milanovic
65f35a6ede
NetBSD fix, from pull request #852 [Thomas Klausner]
2016-05-02 17:58:14 +02:00
Vas Crabb
8795f92f35
Update expat to 2.1.1 for security and bug fixes
2016-04-12 20:53:04 +10:00
Branimir Karadžić
cceb3a32b7
Update to latest BGFX (nw)
2016-04-10 09:16:09 +02:00
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