Commit Graph

1875 Commits

Author SHA1 Message Date
Eugene Sandulenko
c8fd73a228
CONFIGURE: Add description for --disable-detection-full option 2022-01-01 20:33:30 +01:00
Le Philousophe
d5c5f65827 CONFIGURE: silence GOLD linker check 2021-12-31 20:55:45 +01:00
Le Philousophe
f316caa309 ANDROID: Define dwp binary like others 2021-12-31 20:50:05 +01:00
Le Philousophe
1c922e6e77 CONFIGURE: Don't use DWARF in nasm when linking using gold
This raises `internal error in relocate_section, at ../../gold/i386.cc:3683`
2021-12-31 20:50:05 +01:00
Cameron Cawley
21b0d6ded1 BACKENDS: Replace GLEW with GLAD, part of PR #3463 2021-12-30 14:53:48 +01:00
Christophe Branchereau
7242a2aaa4 OPENDINGUX: enable the local web server
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2021-12-28 11:51:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Le Philousophe
706de81bb0 ANDROID: Switch to GLES2 2021-11-29 00:04:45 +01:00
Jelle Raaijmakers
6547ecf673 BUILD: Support SerenityOS in configure script 2021-11-23 23:22:52 +01:00
Le Philousophe
c681c3f64f RASPBERRYPI: Don't make use of obsolete Broadcom libraries 2021-11-21 18:57:56 +01:00
Cameron Cawley
267f1f18fb ANDROID: Enable scalers by default 2021-11-20 01:06:23 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines (#3551) 2021-11-18 00:56:21 +01:00
Le Philousophe
213168047e OPENDINGUX: Integrate all OpenDingux platforms in configure script 2021-11-12 11:59:48 +01:00
Le Philousophe
ded4ab6c23 WIN32: Enable GNU extensions for mingw
This way old mingw gets its __argc and __argv. Using gnu++11 instead of
undefining __STRICT_ANSI__ makes GCC11 happy.

Closes #3473
2021-11-02 20:52:36 +01:00
Le Philousophe
af7500a06b CONFIGURE: long long is not an extension anymore in C++11 2021-11-02 20:51:34 +01:00
Le Philousophe
fcca692e56 CONFIGURE: Rework strict ANSI and pedantic arguments 2021-11-01 21:46:15 +01:00
Le Philousophe
9d5d7aca6f CONFIGURE: Remove compiler versions checks as they are now outdated
C++11 mandatory support expects a recent compiler.
Version parsing is still present to allow adding back tests for more
recent checks.
2021-11-01 21:46:15 +01:00
Le Philousophe
7afd15149c CONFIGURE: Move C++11 test before compiler detection
As C++11 is mandatory now, just ensure we've got a proper compiler
2021-11-01 21:46:15 +01:00
Christophe Branchereau
849d05b5e2 OPENDINGUX: Add support for Opendingux Beta
OD Beta is a mips linux OS based on buildroot, that runs on ingenic gaming handhelds
like the gcw0, rg350 and many more.

There was a previous GCW0 port, that was running on legacy opendingux, but that
OS is not maintained since 2014 and has an outdated kernel and toolchain.

Od Beta on the other hand, runs with linux 5.15, has a GCC 10 toolchain and
an active developpment community.

This adds support for 3 flavors :

gcw0 that runs on all jz4770 cpus
lepus that runs on all jz4760 cpus
rg99 which is a jz4725 device

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2021-11-01 17:39:26 +01:00
Eugene Sandulenko
788937e3e1
CONFIGURE: Remove c++11 flag from the help 2021-10-31 13:55:04 +02:00
Eugene Sandulenko
63d1d81c5d
CONFIGURE: Enable C++11 by default 2021-10-31 11:40:43 +02:00
Orgad Shaneh
229a6f305f CONFIGURE: Do not undefine __STRICT_ANSI__ for mingw
GCC11 warns if it is not defined.
2021-10-23 10:11:57 +02:00
Thierry Crozat
902412241e CONFIGURE: Fix fluidsynth detection on some macOS systems 2021-10-04 19:28:47 +01:00
Cameron Cawley
7e134dc926 RISCOS: Only use -mno-poke-function-name in non-debug builds 2021-10-02 15:15:42 +01:00
Cameron Cawley
6c5a2bf1d8 RISCOS: Fix detecting packages using pkg-config 2021-09-30 23:01:43 +01:00
Marcus Comstedt
a43b6cb67a DC: Enable options to save more memory 2021-09-20 23:28:58 +02:00
Cameron Cawley
987c0eb76a COMMON: Add a signed version of uintptr 2021-09-19 11:21:41 +03:00
antoniou79
cfab954743 CONFIGURE: Use -fsigned-char as extra building flag for Android
Needed for Android ARM architectures, where compilers assumes char is unsigned

Addresses issues like outlining fonts in AGS (https://forums.scummvm.org/viewtopic.php?f=17&p=95919#p95919)
See: https://stackoverflow.com/questions/7414355/is-it-safe-to-build-with-fsigned-char-with-android-ndk
2021-09-06 15:21:38 +03:00
Orgad Shaneh
0b90777721 CONFIGURE: Drop u flag for ar
On replace mode (r), u tells ar to replace object files only if the source
file is newer than the one in the archive.

When binutils is configured with --enable-deterministic-archives, the
default mode for ar is D (deterministic), which means that all the files
are stored with zero for UID, GID and timestamp. This means that ar has no
way to tell if the archived file is older than the source file, so it just
archives all the input files and issues the following warning:
`u' modifier ignored since `D' is the default (see `U')

Fix by dropping this flag. The performance gain is negligible anyway.
2021-09-02 18:52:41 +02:00
Cameron Cawley
2e440e5d96 RISCOS: Replace the StrongHelp manual with the PDF manual 2021-08-29 16:09:32 +01:00
Matan Bareket
fed702c059
BUILD: Fix typo in configure 2021-08-27 10:31:47 -04:00
Mataniko
140c0e4090 BUILD: Simplify pandoc and curl checks 2021-08-27 15:54:10 +02:00
mataniko
f21fdee404 BUILD: Add build flags to download the manual from RTD 2021-08-27 15:54:10 +02:00
Cameron Cawley
bc3c50ae4a DS: Build with -fno-threadsafe-statics 2021-08-26 18:33:05 +01:00
Christian Kündig
2b19203104 DISTS EMSCRIPTEN: Fixing various minor bugs and typos
- too verbose logging slows down everything
- datadir / causes the whole FS to be scanned at launch, including files which are loaded lazily via XHR
- corrupt default data in local storage
- double-slash in path of VORBIS_LIBS
2021-08-20 21:13:49 +02:00
Christian Kündig
8af8ac2e08 OPENGL EMSCRIPTEN: clean up ifdefs, fix opengl in main menu, remove 10ms delay in GRIM main loop 2021-08-20 21:13:49 +02:00
Christian Kündig
501c7ba7aa DISTS EMSCRIPTEN: set correct datadir (fixed issue with shader loading) 2021-08-20 21:13:49 +02:00
Christian Kündig
b7a2e22b0a DISTS: New Emscripten/WebAssembly dists target
This is an initial version of the emscripten build/dist target.
Many things are still missing, see dists/emscripten/README.md for
a detailed summary of what this provides and still misses
2021-08-20 21:13:49 +02:00
Cameron Cawley
5c40b54694 DS: Always build without full detection features 2021-08-20 17:42:28 +01:00
sluicebox
4c260f1cd3 CONFIGURE: Run all readline tests with same parameters
Prevents a different include order being applied to the readline
function signature test than was applied to the detection test.
On Mac, this can cause the signature test to use Apple's libedit
instead of the path provided to --with-readline-prefix.
2021-08-07 10:49:01 +02:00
sluicebox
3516f0587e CONFIGURE: Don't detect Apple's libedit as readline 2021-08-07 10:49:01 +02:00
Orgad Shaneh
c0c5330986 CONFIGURE: Suppress output of a52 test app
a52_init() unconditionally calls a52_imdct_init(), which prints "No
accelerated IMDCT transform found". This interferes with the normals
configure output, which looks like this:

Checking for liba52... No accelerated IMDCT transform found
yes
2021-08-06 19:25:31 +03:00
Max Horn
34523aba7e JANITORIAL: Fix some typos 2021-08-04 15:43:15 +02:00
Orgad Shaneh
0b2ae9fa5e DEVTOOLS: Replace ugly SDL/MinGW hack with a cleaner hack
Instead of having main=SDL_main defined by pkg-config/sdl2-config --cflags
and undefining it everywhere, strip it in its origin.
2021-08-03 07:35:15 +03:00
Orgad Shaneh
15d282a34b CONFIGURE: Do not pass --prefix to sdl2-config
Reapply a6ded89075.

This already works with all the platforms on buildbot. The mingw release
environment had a misconfigured sdl2-config, but this should now be
fixed.
2021-08-01 18:06:24 +03:00
Orgad Shaneh
9e66fa2899 CONFIGURE: Partially revert recent mingw change
See the commit message of a6ded89075 for the
gory details. Until we come up with a proper fix, revert that part to make
it compile again.
2021-08-01 11:55:19 +03:00
Eugene Sandulenko
149681cfad
Revert "CONFIGURE: Do not pass --prefix to sdl2-config"
This reverts commit 936121a070e4408f9b41b4234861fe2c1fab7949.

The change broke the existing Win32 ports.
2021-08-01 09:40:58 +02:00
Orgad Shaneh
4ccb0084be CONFIGURE: Update pkgconfig-related comments for mingw 2021-08-01 10:10:37 +03:00
Orgad Shaneh
f01a1dc6fa CONFIGURE: Use cross-pkg-config on MXE
Works without setting PKG_CONFIG_LIBDIR.
2021-08-01 07:27:16 +03:00
Orgad Shaneh
a6ded89075 CONFIGURE: Do not pass --prefix to sdl2-config
sdl2-config should return the correct paths without it. Trying to determine
the path by name lookup is error-prone.

For example, if both the host and a cross-toolchain have sdl2 installed,
the host executable is typically /usr/bin/sdl2-config, and the
cross-toolchain is <triplet>-sdl2-config and
/path/to/toolchain/triplet/bin/sdl2-config.

The toolchain bin path should not be part of PATH, because this can cause
clashes when building for the host (depends on the PATH order, and if the
tool exists on both).

And even if we do add the toolchain bin path, like we currently do at least
on MXE container, if the host path comes before the toolchain then the
<triplet>-sdl2-config will be detected, but this executable *is not* in the
directory that relates to this toolchain, but in the host bin (for example,
/opt/mxe/bin), so we pass the wrong path to --prefix and sdl2 breaks.

This only worked on buildbot because the lookup for mingw was sdl-config
instead of sdl2-config, and sdl-config just doesn't exist on the system.
2021-08-01 07:21:13 +03:00
Orgad Shaneh
a0006fb92e CONFIGURE: Avoid fancy quotes in help text 2021-07-30 16:17:59 +03:00
Orgad Shaneh
85c4f53f7f BUILD: Support peldd on mingw cross-compiler 2021-07-30 05:47:22 +03:00
Orgad Shaneh
de77d9b71e CONFIGURE: Fix cross-compilation with mxe mingw 2021-07-30 05:47:22 +03:00
sluicebox
2bca5da803 WIN32: Make UNICODE the default build configuration 2021-07-14 18:41:02 -05:00
trembyle
63b8d47df5 CONFIGURE: Enable building with Windows text console output
Create a new flag --enable-windows-console to build with console
output on MinGW. The default behavior will be to enable the console.
The current plan is to continue to offer the users both options for
release builds - ScummVM and ScummVM (noconsole).

Whenever the text console is enabled, Windows console will be added
by default. This is to prevent a situation where ScummVM will not load
any visible debug console on hotkey or error.
2021-07-13 11:57:22 -05:00
sluicebox
4cf7f1fc80 CONFIGURE: Add --enable-windows-unicode 2021-06-29 12:38:01 -05:00
Orgad Shaneh
d31b843f9f
MAKEFILE: Add win32dist-mingw target (#2999)
Installs, and bundles all required dlls in WIN32PATH or DESTDIR.
2021-06-20 12:01:09 +03:00
Le Philousophe
034ce1678e AMIGAOS: Fix miniGL link when building with plugins
On AmigaOS miniGL is a static library and linking against it in plugins
prevents to have a shared context. By linking only in main executable,
this forces plugins to use the only context available in scummvm binary.
2021-05-15 12:52:22 +02:00
Eugene Sandulenko
19512b261a
CONFIGURE: Improve endianness check. Courtesy of Fedora 2021-05-09 12:58:11 +02:00
Filippos Karapetis
99e5de932e AUDIO: Remove the broken ARM audio rate converter
This code has been broken and unmaintained for at least 7 years now,
and had been disabled. This also removes the associated define
USE_ARM_SOUND_ASM
2021-05-04 01:16:14 +03:00
Le Philousophe
7c9a1fa9f3 AMIGAOS4: Add support for dynamic linking (and plugins) 2021-05-01 18:03:13 +02:00
Hubert Maier
3c498b4a35 AMIGAOS: Revert install assign to install subdirectory 2021-05-01 18:03:13 +02:00
Hubert Maier
81124a5214 AMIGAOS: Small changes
- Change install path to use an assign instead of an absolute path
- Change system dialogs output to print "asl" instead of "amigaos (asl)", incorporated with morphos (since both targets use the same dialog system) to save some lines
2021-05-01 18:03:13 +02:00
Eugene Sandulenko
3e2ad9ee0f
CONFIGURE: Redirect all compilation runs to config.log 2021-05-01 14:56:08 +02:00
Cameron Cawley
c38e3bdc2a AUDIO: Support building with FluidLite 2021-04-25 20:39:55 +03:00
Orgad Shaneh
ea66b91939
CONFIGURE: Force full rebuild on configuration change (#2974)
When a subengine is added, its parent engine needs to be rebuilt.

A real solution will be to create a make-dependency file for each engine,
and touch it when its subengines change, but for now we'll just rebuild
everything.
2021-04-23 12:34:02 +03:00
Cameron Cawley
2caff83e37 CONFIGURE: Allow linking with GOLD to be disabled 2021-04-21 23:34:37 +01:00
rsn8887
b124c20aa9 VITA: Remove unused vitashaders lib dependency 2021-04-11 20:35:00 -05:00
rsn8887
044ea0b60e VITA: Use regular SDL2 graphics code, fixes crash with latest SDK 2021-04-11 19:56:34 -05:00
Martin Gerhardy
a8280b299e CONFIGURE: added missing --with-gif-prefix support 2021-04-10 18:51:58 +02:00
Martin Gerhardy
ea49b39d66 CONFIGURE: fixed copy and paste error for gif support 2021-04-10 18:51:58 +02:00
Martin Gerhardy
bb34721dd4 IMAGE: added GIFDecoder using libgif 2021-04-10 10:59:09 +02:00
Martin Gerhardy
a581b1e4e0 CONFIGURE: fixed whitespace issue 2021-04-06 19:46:47 +02:00
Orgad Shaneh
3d13ad1768 CONFIGURE: Speed up and get rid of little gnomes
Translated most of the engine work from shell to awk.

Tested that the output is the same (except the order of created files).

Time comparison
---------------
Windows:
* Little gnomes - 99s -> 0.3s
* Creating - 68s -> 1s
* Total - 205s -> 35s

Linux:
* Little gnomes - 3s -> 0.03s
* Creating - 2s -> 0.11s
* Total - 8s -> 3.8s
2021-04-02 21:54:39 +02:00
Orgad Shaneh
b813d1ca0d CONFIGURE: Avoid needless overwrite of header and mk files
They trigger extensive rebuild of source files without a reason every time
the configure script changes, even if the result is exactly the same.
2021-03-28 21:42:31 +02:00
Le Philousophe
4959457968 IOS7: Add 64-bit target 2021-03-21 17:48:30 +01:00
Eric Culp
39608f391c SDL,GRAPHICS: Add option for AR correction without scalers 2021-03-15 16:48:40 +02:00
Eric Culp
f172718b79 CONFIGURE: Added configure option for Edge2x-3x scaler plugin 2021-03-15 16:48:40 +02:00
Cameron Cawley
26e2a9711f GPH/DINGUX: Remove downscaling support 2021-03-15 16:48:40 +02:00
Orgad Shaneh
e094bef73b BUILD: Support LLD linker in configure (opt-in)
Reduces link time significantly.

Times comparison:

Linux+SSD
=========
ld: 14.2s
gold: 4.5s
lld: 1.7s

Windows+HDD
===========
ld: 110s
lld: 7s
2021-03-14 18:42:55 +01:00
Orgad Shaneh
21403f79f8 BUILD: Avoid passing -lfribidi twice to the linker 2021-03-08 09:01:08 +02:00
Thierry Crozat
50932ffb38 BUILD: Fix building with c++11 on systems without std::nullptr_t 2021-03-07 19:30:34 +00:00
Le Philousophe
3b26e0c4f2 RISCOS: Fix internal compiler error in VFP build 2021-03-05 23:20:09 +01:00
Le Philousophe
befedb887b VITA: Add SceAppUtil_stub library
New SDL 2.0.14 uses it for launching web browser
2021-03-03 09:05:39 +01:00
Donovan Watteau
3650aa6ce9 MACOSX: Stop using the -platform_version linker workaround for Retina displays
Commit a1d930209a is actually enough to
stop the blurry display issue on Retina screens (Bug #11430).

This reverts most of 70f79d3df8.
2021-02-09 01:35:40 +00:00
Cameron Cawley
ac4748a6d3 DS: Supress format warnings 2021-02-04 22:22:01 +00:00
Cameron Cawley
72703a8d0a DS: Disable the ARM assembler code for now 2021-02-04 01:59:14 +01:00
Cameron Cawley
ebb1306630 DS: Update configure 2021-02-04 01:59:14 +01:00
Cameron Cawley
0c776013f7 DS: Add RGB colour support 2021-02-04 01:59:14 +01:00
Cameron Cawley
2ca80f8c86 DS: Add -mthumb to the linker flags 2021-02-04 01:59:14 +01:00
Cameron Cawley
6fa77b3429 DS: Remove optimization of individual files for speed
Mixing ARM and THUMB code in dynamic plugins causes relocation issues.
2021-02-04 01:59:14 +01:00
Cameron Cawley
a900337952 DS: Fix default search paths 2021-02-04 01:59:14 +01:00
Cameron Cawley
8b55134547 DS: Re-add audio support using MaxMod 2021-02-04 01:59:14 +01:00
Cameron Cawley
3c306f33ed DS: Simplify the directory structure 2021-02-04 01:59:14 +01:00
Cameron Cawley
704deec031 DS: Improve text console support 2021-02-04 01:59:14 +01:00
Cameron Cawley
e23e809086 DS: Update compile flags 2021-02-04 01:59:14 +01:00
Cameron Cawley
ab577c7930 DS: Bundle the engine data files in romfs 2021-02-04 01:59:14 +01:00
Cameron Cawley
28086f4f8a DS: Replace outdated filesystem code 2021-02-04 01:59:14 +01:00
Le Philousophe
c7d6d8251f SWITCH: Put spec file in LDFLAGS instead of LIBS
This ensures it is used on every check (cf PR #2716)
2021-01-18 21:25:27 +01:00
Le Philousophe
cd34eaa2c5 VITA: Use make jobserver to control how many jobs linker can use
-flto=jobserver is present in GCC since version 7 at least
2021-01-17 21:53:15 +01:00
Le Philousophe
9c7ce6cf33 VITA: Add SceMotion_stub library
It's used by new versions of Vita SDL.
Library is present for a long time so it should link OK with older SDKs.
2021-01-10 11:24:15 +01:00
Matthew Duggan
cb8228e69e CONFIGURE: Correct typo in message 2021-01-01 15:07:37 +09:00
Cameron Cawley
a1b67d2fbe CONFIGURE: Allow building without detection code for disabled engines 2020-12-06 20:04:02 +01:00
BeWorld
04e719bf32 MorphOS: active nuked OPL Adlib driver
Thanks Raziel to see that on AmigaOS platform :-)
2020-12-06 00:11:35 +00:00
Hubert Maier
f8e3dafb19 AMIGAOS: Update configure 2020-12-02 21:47:31 +01:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
Hubert Maier
42883aae03 AMIGAOS: Add AmigaOS to the system dialogs
...and sort alphabetically
2020-11-23 19:18:46 +01:00
Le Philousophe
023b6fd42a CONFIGURE: Don't use bashism in pure shell script
281b187de4 introduced ${//} bashism which
doesn't work when /bin/sh isn't linked to bash.
Use a more portable version with ${#} as "Version:" string is at
beginning.
2020-11-15 17:07:59 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Eugene Sandulenko
281b187de4 CONFIGURE: Make Mac version check cross-compilation-friendly
We cannot execute the resulting binary, thus buildbot was not picking up
the version. Now we transfer version number into string at compile
time and search for it in the binary.
2020-11-15 15:49:21 +01:00
Eugene Sandulenko
93fcfdebdb CONFIGURE: Better compatibility with some bash versions 2020-11-15 13:12:38 +01:00
Eugene Sandulenko
852e9b550d CONFIGURE: Make MacOS version check more robust 2020-11-15 13:12:38 +01:00
Le Philousophe
3ab12b1d41 CONFIGURE: Fix TTS detection with Mingw
This matches commit da77bfd792 in real
code
2020-11-14 16:39:39 -08:00
Cameron Cawley
128b20634f IOS7: Fix compilation with Xcode 2020-11-09 19:12:33 +00:00
rsn8887
8ed43f8da2 CONFIGURE: fix fluidsynth detection for psp2 2020-11-06 12:35:59 -06:00
Le Philousophe
7c92081aa0 IPHONE: Don't link with SDL if it's unavailable
SDL_Net can be compiled without the need of SDL so avoid linking with
it.
Define WITHOUT_SDL as it's done (for nothing) in create_project
2020-11-01 10:11:06 +01:00
Le Philousophe
0415a9da2a IPHONE: Update defines for iPhone 7
It's what is used in Xcode project files generated by create_project
2020-11-01 10:11:06 +01:00
BeWorld
a434791bf8
MORPHOS: Add native file browser via Asl (#2574)
MORPHOS: Add native file browser via Asl
2020-10-31 09:44:55 +01:00
Paweł Kołodziejski
626284976c CONFIGURE: Enable opengles2 in 3d games by default for raspberrypi 2020-10-30 16:16:22 +01:00
Thierry Crozat
ed99753fa4 CONFIGURE: Fix detection of 10.4 OS X deployement target 2020-10-30 14:47:31 +00:00
Matthieu Milan
90d9540ad8
SWITCH: Add support for 3d games (#2558)
SWITCH: Add support for 3d games
2020-10-26 21:01:12 +01:00
Vladimir Serbinenko
366e9997c4 COMMON: Fix freetype path for psp
Current config ends up pulling freetype headers from host which depending
on version on host and in toolchain may result in linking or runtime errors
2020-10-25 22:46:59 +01:00
Vladimir Serbinenko
d671899e52 COMMON: Move -G0 to right place for psp 2020-10-25 22:46:35 +01:00
Vladimir Serbinenko
0714302b0b COMMON: Add -G0 for PSP
Our pspfull build has got section over 64K. Projects like retroarch also
use -G0. It's a bit slower and binary is a bit larger but it works.
2020-10-25 19:35:58 +01:00
Cameron Cawley
3e7948cf6a
ANDROID3D: Get it working again (#2529) 2020-10-15 09:59:11 +02:00
Paweł Kołodziejski
0aef08a2f3 CONFIGURE: Attempt to fix Android linking stage 2020-10-14 22:23:54 +02:00
Eugene Sandulenko
eeeaab0e4e CONFIGURE: Restore executable flag 2020-10-14 21:17:19 +02:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
Paweł Kołodziejski
a37173807f CONFIGURE: More work on opengl flags 2020-10-14 18:37:17 +02:00
Eugene Sandulenko
d10089492e CONFIGURE: Fix linking of OpenGL engine dynamic plugins 2020-10-14 17:10:45 +02:00
Paweł Kołodziejski
e3cd0da0df BACKENDS: Attempt to fix buildbot targets 2020-10-14 07:06:18 +02:00
Paweł Kołodziejski
b3ffd89c68 CONFIGURE: Do not enable opengl_shaders feature flag for gles2.
Gles2 feature flag is already as supporting shaders.
2020-10-10 18:41:23 +02:00
Paweł Kołodziejski
264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
Paweł Kołodziejski
ef7039cb4c CONFIGURE: Remove orphaned _opengles v1 feature 2020-10-10 12:06:09 +02:00
Paweł Kołodziejski
b87fb7c70d WME: Fixed opengl ifdef guards. Synced glew flag with opengl in configure. 2020-10-09 20:56:48 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Kirben
f27d08d097 BUILD: MinGW needs OpenGL library added for GLEW test. 2020-10-07 20:41:06 +11:00
Pawel Kolodziejski
2c9c005469 ICB: Remove ifdefs _PC and _PSX 2020-10-06 06:33:43 +02:00
Pawel Kolodziejski
2ff565cf32 ANDROID: Rename Android folder as it's specific for ResidualVM 2020-10-05 12:35:32 +02:00
Pawel Kolodziejski
4631c0e2ed ALL: Sync with ScummVM rev: a4002bdeee 2020-10-04 23:59:26 +02:00
Pawel Kolodziejski
f97156a36b CONFIGURE: Synced Android setup with ScummVM 2020-10-04 17:14:00 +02:00
Pawel Kolodziejski
175164d1f5 EMI: Added dependency on MPEG2 library 2020-10-04 11:40:10 +02:00
Pawel Kolodziejski
a38f8dc668 CONFIGURE: Minimise differences in configure file 2020-10-04 10:50:32 +02:00
Thierry Crozat
03d41e59e7 CONFIGURE: Fix initializer_list on some platforms 2020-10-03 20:59:12 +01:00
Pawel Kolodziejski
c12503a869 Synced with ScummVM rev: f6c5fed173 2020-10-03 18:14:12 +02:00
Thierry Crozat
786aac568b COMMON: Add c++11 initializer list replacement when not available in std lib
The c++11 standard includes some features that do not only depend on the
compiler supporting it, but also the c++ standard library having support
for it. This is the case for the initializer list feature. So when we
compile with a modern compiler but using an old std lib we need a
replacement for it.
2020-10-03 15:51:14 +02:00
Thierry Crozat
f1ed89e5a3 CONFIGURE: Define USE_CXX11 when c++11 is enabled 2020-10-03 15:51:14 +02:00
Thierry Crozat
27030c7029 CONFIGURE: Add cxx11 feature
The idea is that engines that want to use c++11 can specify it as
a dependency in their configure.engine file so that the engine
is automatically disabled when c++11 is not available.
2020-10-03 15:51:14 +02:00
aryanrawlani28
867e6c4e21 CONFIGURE: Improve enabling of detection as static/dynamic
- Add config statements to help in makefiles & base/plugins.cpp
- Print to console if detection is building as static or not
2020-10-03 14:56:36 +02:00
aryanrawlani28
e64446e4ce CONFIGURE: Remove detection submodules written to engines.mk
- Write detection_table inside engines subdirectory
2020-10-03 14:56:36 +02:00