Christian Speckner
08cb68fea9
Tune sqlite build, remove the possibility of linking against system libsqlite3.
2021-01-02 14:39:12 +01:00
Stephen Anthony
0b63649735
Fixed configure bug in Linux.
2020-12-15 21:08:05 -03:30
Christian Speckner
771b5b44e3
Sqlite3 is not conditional anymore, support amalgamation on UNIX.
2020-12-14 00:10:11 +01:00
Stephen Anthony
43fafb45ef
Wrap json.hxx in another header, which disables warnings for code we don't control.
...
Eventually we can add directives here for other compilers too (in json_lib.hxx).
2020-11-28 17:02:25 -03:30
Christian Speckner
730932355f
Merge remote-tracking branch 'origin/master' into feature/json-mappings
2020-11-28 20:45:51 +01:00
Stephen Anthony
fe2b4d630e
Move Linux builds to use C++17 by default.
2020-11-28 10:48:00 -03:30
Christian Speckner
ffb366f273
Less noise from clang.
2020-11-11 23:41:20 +01:00
Stephen Anthony
c165c9b159
Add '--enable-release' to configure script, which for now sets the Makefile to use LTO.
2020-08-26 15:27:41 -02:30
Stephen Kitt
64dc9dde86
Handle GCC versions after 9
...
This simplifies the interpretation of GCC versions, and handles all
versions greater than 4, hopefully for good.
Fixes : #590
Signed-off-by: Stephen Kitt <steve@sk2.org>
2020-03-10 13:52:03 -02:30
Stephen Anthony
83a3bdd6cd
GUI support is now conditional in Stella. This is enabled by default for all ports except libretro.
...
- When disabled, it also disables the debugger and cheatcode support
- UI-wise, this reverts Stella to 1.x functionality (before any internal UI was added)
- Eliminates 47000 lines of code for those ports (like libretro) that don't need it.
2019-05-02 17:58:39 -02:30
Christian Speckner
a6e7dcf399
Revert accidental change to configure.
2019-04-29 00:56:45 +02:00
Christian Speckner
b1f485e2bd
Implement sqlite repository, fix link against sqlite3.
2019-04-29 00:46:27 +02:00
Christian Speckner
f9554ee3df
Hook up SQLite in build system, scaffold SQLite repository.
2019-04-26 23:08:55 +02:00
Stephen Anthony
00e464afc3
Enable conditional compilation for ZIP/zlib support.
2019-04-24 15:36:20 -02:30
Stephen Anthony
eb13d515fb
Enable conditional compilation for PNG support. Some ports (libretro) don't need it at all.
2019-04-21 20:07:56 -02:30
Fabrice Fontaine
72932aa09e
Add cross-compilation support
...
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Retrieved (and slightly updated) from:
https://git.buildroot.net/buildroot/tree/package/stella/0001-Add-cross-compilation-support.patch ]
2019-03-10 18:57:21 -02:30
Stephen Anthony
f508ca2634
First pass at porting R77-specific changes to mainline.
...
- more work is required here, since I'm unable to test on a real R77 yet
- changes will also be required in the manually generated config.mak
2019-03-09 12:22:33 -03:30
Christian Speckner
24305371c7
Add pgo builds with GCC and LLVM to Makefile
2019-03-03 16:51:52 +01:00
Stephen Anthony
933c4d7d3c
Mac-related files/folders are now using 'macOS' naming scheme.
2018-12-19 11:46:09 -03:30
Christian Speckner
0715b691a0
Fix CLI builds for XCode 10
2018-09-19 23:36:26 +02:00
Stephen Anthony
cb6c04815e
Remove HAVE_GETTIMEOFDAY defines for all ports.
...
- gettimeofday() is no longer used, so we don't need the define anymore
2018-07-01 21:21:01 -02:30
Stephen Anthony
819850f971
Fixed configure/Makefile to work without patches in OpenBSD.
2018-06-06 18:23:27 -02:30
Dan Church
77479cc0dd
Fix overriding CXX setting
...
If user specifies CXX, use it as-is, since that's the user's choice.
Closes #292
2018-02-04 18:16:03 -03:30
Christian Speckner
6500ab0613
Compile thumbulator unconditionally.
2017-12-10 00:22:18 +01:00
Stephen Anthony
9b4443d555
Only automatically enable clang extended warnings in version 5+.
2017-10-16 14:39:40 -02:30
Christian Speckner
be877f8503
Merge branch 'master' into refactoring/frame_manager
2017-10-15 20:28:27 +02:00
Stephen Anthony
10bdcd58d2
Third pass at fixing warnings:
...
- added very stringent checks when compiling under clang; for now, there will still be warnings,
since I haven't addressed the specific code yet (probably issues in OSX too)
- no issues when compiling with gcc; still need to check VS.
2017-10-11 21:49:31 -02:30
Christian Speckner
58b38269a6
Fix compile.
2017-09-27 23:42:14 +02:00
Stephen Anthony
8cf8200908
Fixed logic error in detecting 'Alt' key.
...
DirtyHairy, it looks like you removed a negation and replaced it with
a positive (ie, you removed an _ifndef_, not an _ifdef_) :)
2017-08-30 19:41:16 -02:30
Christian Speckner
a101df0269
Typo.
2017-08-30 23:17:30 +02:00
Christian Speckner
fd85f9d0d5
Basic support for plain UNIX-style builds on OSX.
2017-08-30 23:13:07 +02:00
Stephen Anthony
cd689941b6
Move to C++14, now that all the minimum required compilers support it.
...
Clang 3.8, gcc 5, Visual Studio 2017 and Xcode 8 are now the minimum
supported compilers, and they all support C++14, so we may as well use it.
- Change all make_ptr to make_unique
- Change iterator begin(), end(), etc to const versions where appropriate
- Remove UniquePtr, since C++14 supports it natively
2017-07-21 21:10:13 -02:30
Stephen Anthony
fb6e573263
Update UNIX configure script for gcc7 and above.
2017-04-17 18:52:04 -02:30
Stephen Anthony
c80f72b367
Allow configure script to run with clang-5, and fixed a minor
...
warning when compiling with clang++-5.
2017-02-10 21:32:58 -03:30
Stephen Anthony
49a11e2ce1
Updated PNG and ZLIB libraries to latest released versions.
...
Since Zlib 1.2.10, it seems that zlib and png need to be paired
together. The UNIX 'configure' script has been updated to either use
system png and zlib libraries, or both as built-in libraries. This
shouldn't affect Windows (which uses both built-in anyway), but it
does require changes to OSX (which currently doesn't build at all).
2017-01-15 13:28:41 -03:30
Stephen Anthony
4d0147f3d1
Made new TIA core the default (code now compiles).
2016-12-10 13:38:28 -03:30
Stephen Anthony
b9630f5e2a
Re-enable compilation with DEBUGGER_SUPPORT. The TIA stuff in the
...
debugger is currently broken, but at least the code compiles (needed
for the Windows and OSX test releases, as they aren't set up to be
compiled without the debugger.
2016-12-04 16:05:21 -03:30
Christian Speckner
4fd2c71510
Merge remote-tracking branch 'remotes/upstream/git-svn'
2016-11-26 14:48:40 +01:00
Christian Speckner
a99a4e1efd
Stub implementation of new core.
2016-11-08 01:26:57 +01:00
Christian Speckner
4188d766fb
Tabs vs. spaces.
2016-10-30 21:03:52 +01:00
Christian Speckner
2075ff082a
Prepare build system for new core.
2016-10-30 21:00:08 +01:00
Christian Speckner
83417e976f
Isolate TIA implementation in sub-module, remove all direct references in favor of AbstractTIA.
2016-10-30 00:31:55 +02:00
stephena
431a148011
Detect clang 4.0 in the configure script.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3318 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-10-10 17:43:31 +00:00
stephena
be2f6f5b64
Fixed cross-compile bug in configure script, thanks to patch from Vlad Zakharov.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3315 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-08-24 14:43:30 +00:00
stephena
dd480fdb7e
Updated configure script for GCC6, and in general cleaned up
...
some obsolete cruft.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3293 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-29 22:41:18 +00:00
stephena
b02059dc5f
Updated Linux configure script to work with g++-6.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3289 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-26 19:38:22 +00:00
stephena
8232045971
Make configure script work with gcc 5+.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3158 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-04-22 14:11:11 +00:00
stephena
a4023be98b
Removed 'SNAPSHOT_SUPPORT' from configure, since building this is
...
no longer an option that can be disabled.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3103 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-25 19:21:25 +00:00
stephena
b646ba5c26
Some cleanup of configure/Makefile scripts.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3089 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 12:32:08 +00:00
stephena
cf10f4c24f
Now that we're using C++11 and cstdint is standard, we no longer need to
...
worry about inttypes.h and associated defines.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3085 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 20:57:15 +00:00