132 Commits

Author SHA1 Message Date
Cameron Cawley
a4002bdeee CREATE_PROJECT: Enable C++11 for Xcode builds 2020-10-04 21:46:45 +01:00
Cameron Cawley
1355bfee75 CREATE_PROJECT: Add missing libraries to the Xcode generator 2020-10-04 18:31:00 +02:00
Paweł Kołodziejski
e01c915210 CREATE_PROJECT: Added MacPorts paths to Xcode 2020-10-04 18:09:46 +02:00
Thierry Crozat
b4b91b1fad CREATE_PROJECT: Use RELEASE_BUILD define in Xcode Release configuration 2020-09-26 15:36:31 +01:00
Andrew Martin
d20d597f72 IOS: Add LaunchScreen.storyboard to support full screen on iPad Pro 2020-09-06 23:38:00 +01:00
Thierry Crozat
dc88a9fcb1 DISTS: Update the list of files to distribute 2020-09-02 20:42:18 +01:00
SupSuper
bcb7d1f30c BACKENDS: Discord rich presence support
Adds support for showing the currently running game
in a Discord user's game activity.
2020-08-25 10:47:41 +02:00
Einar Johan Trøan Sømåen
ff602877e6 DEVTOOLS: Unhardcode scummvm-name in create_project for XCode.
The existing code broke create_project in ResidualVM, as
the loop that creates the actual build configurations
generated the hash from the actual object name, which
for ResidualVM would be XCConfigurationList_residualvm.

The same logic was not applied when generating the reference,
as that would use the hardcoded name XCConfigurationList_scummvm.

This patch makes a minimal fix for that, by using the
PROJECT_NAME define instead of the hardcoded name.
2020-06-29 02:09:23 +02:00
Matthew Duggan
352eeb5795 CREATE_PROJECT: Add c++11 warnings to xcode project 2020-05-01 00:01:02 +01:00
Zvika Haramaty
7e168256c2 DEVTOOLS: add fribidi library support to create_project 2020-04-30 23:59:10 +01:00
Eugene Sandulenko
8a3fc359b2 DEVTOOLS: Modified macros, so they are less error-prone.
Code generation for libsdl_net was always performed. The condition
did not work as expected. Macros are dangerous.
2020-04-28 08:56:51 +02:00
Thierry Crozat
70f79d3df8 MACOSX: Unset SDK version in executable
This is a workaround for the blurry display we get on retina screen
when building with SDK 10.14 or above. Unsetting the SDK version
in the executable is sufficient to avoid the issue. See bug
similar change in LibreOffice.

The workaround can only be used with Xcode 11 or above. When using
configure it automatically detects if the workaround can be used.
The workaround is disabled by default in create_project and needs
to be enabled manually (uncomment the MACOSX_NO_SDKVERSION define
at the top of the xcode.cpp file).
2020-04-26 00:33:42 +01:00
Thierry Crozat
5b617c1eef CREATE_PROJECT: Use relative paths for static libraries for Xcode
With the project including both iOS and macOS targets, using an
absolute path ensures it is incorrect for one of those. Since it was
using /usr/local/lib/ all the paths had to be changed in Xcode to
build the iOS target.

Also as the paths where we expect the libraries to be (/usr/local/lib
on macOS and lib under the build directory for iOS) are added to the
search path in the Xcode project, we do not actually need to use
absolute path). Also this make it easier to use a different path for
libraries (e.g. if using MacPort or brew) as we only need to change
the search path setting in the Xcode project and not the
path for each library).
2020-04-24 10:53:23 +02:00
Matthew Duggan
a241f33dec CREATE_PROJECT: Add libSDL_net to OSX config when needed 2020-04-11 16:06:32 +09:00
Lothar Serra Mari
b25841e4ae BUILD: Add ultima.dat to the list of engine data files 2020-02-02 22:35:20 +01:00
Thierry Crozat
406cc80458 CREATE_PROJECT: Handle compilation with libcurl and SDL_net in Xcode projects 2019-08-19 23:02:59 +01:00
Thierry Crozat
53501a4756 JANITORIAL: Fix indentation 2019-08-07 21:04:43 +01:00
Thierry Crozat
468c0f0743 IOS7: Implement isConnectionLimited 2019-08-04 19:03:34 +01:00
Le Philousophe
418cec512f CRYOMNI3D: Add internationalization through external DAT file 2019-07-05 07:51:19 +02:00
SupSuper
74f9e0dfc0 CREATE_PROJECT: Remove obsolete "browser.cpp" hack
browser.cpp no longer depends on the target platform since pull request #1414
2019-07-01 01:57:26 +01:00
Bastien Bouclet
1d0d842e2a BUILD: Add the licence file for the Source Code Pro font 2019-05-05 08:52:12 +02:00
sluicebox
8c32927f39 CREATE_PROJECT: Add Text console debugger feature
Add feature flag to create_project to set USE_TEXT_CONSOLE_FOR_DEBUGGER
with --enable-text-console like configure script
2019-04-22 09:34:21 -04:00
Matan Bareket
69cecebdbc BUILD: Update default theme to use remastered 2019-04-02 10:55:57 -04:00
Cameron Cawley
7dbc613258 BUILD: Add fonts.dat to packaging rules 2018-12-25 12:47:42 +01:00
SupSuper
5fce1ae464 BACKENDS: Move OSX file browser into backend 2018-12-16 10:48:13 +00:00
Cameron Cawley
8fa2f90a26 CREATE_PROJECT: Support building with Tremor instead of Vorbis 2018-11-27 22:58:02 +00:00
Colin Snover
9686d8c8e6 MACOSX: Put documentation links in Help menu
The local documents are not currently internationalised simply
because the internationalised resources are not put into the right
places (NSBundle will handle this automatically when they are);
Trac#10464 is a tracking bug for this outstanding issue.

Fixes Trac#10437.
2018-08-28 15:52:23 +02:00
Paul Gilbert
900ef91aca XEEN: Creation of create_xeen tool 2018-02-23 15:23:20 -05:00
Thierry Crozat
c1accefe5c BUILD: Add supernova.dat to install rules 2018-01-23 22:50:39 +00:00
Thierry Crozat
ea53605365 CREATE_PROJECT: Support using libjpeg for iOS builds 2017-10-12 22:41:15 +01:00
Thierry Crozat
0fde977ad2 CREATE_PROJECT: Fix some compilation issues for iOS
Note that this still doesn't compile with the library package provided
by bSr43 because this package is missing libvorbisfile.a and has a
non standard name for libglib-2.0.a. But it would probably be better
to fix the package than maintain non-standard packages.
2017-10-12 18:59:53 +01:00
Colin Snover
815e3920a7 DEVTOOLS: Add theoradec support to Xcode create_project 2017-10-03 18:56:35 -05:00
Colin Snover
b91a48f279 CREATE_PROJECT: Fix typo in unused macro 2017-09-10 22:17:16 -05:00
Colin Snover
16b76d22a1 CREATE_PROJECT: Add LastUpgradeCheck to generated project file
This prevents the recommended updates warning appearing when
opening the project in Xcode for the first time.
2017-09-10 22:17:15 -05:00
Colin Snover
2191533d4f CREATE_PROJECT: Update Xcode generator to use most Xcode-recommended warnings 2017-09-10 22:17:15 -05:00
Colin Snover
d282e5c3f3 CREATE_PROJECT: Increment default iOS build target in Xcode generator
Xcode 8/macOS 10.12 minimum target for iOS is now iOS 8.
2017-09-10 22:17:14 -05:00
Colin Snover
dbcde0c414 CREATE_PROJECT: Ignore undefined-var-template warnings by default
Starting in Xcode 8, clang reports warnings about singleton
instantiation which are noisy, so suppress these warnings for the
moment. An attempt to fix this properly was added in
eefa72afa1978a9dea10f5b1833fcc8f58a3468e but it was backed out in
940b2a20f1cd490afb6e541a3cd26f0d3bdd1687.

See https://github.com/scummvm/scummvm/pull/967 and
https://github.com/scummvm/scummvm/pull/994.
2017-09-10 22:17:14 -05:00
Colin Snover
3c5440add7 CREATE_PROJECT: Move browser_osx.mm hack to Xcode generator
c19c10d548b2867bc4fd003fb29ac0017b2bd29d fixed the bad parsing of
module.mk which meant the Xcode generator broke. For the moment,
just move the hack for browser_osx.mm into the generator, until
there is a more elegant solution to this problem (if ever).
2017-09-10 22:17:14 -05:00
Colin Snover
9db0c9c607 CREATE_PROJECT: Allow FluidSynth on macOS
FluidSynth does build and run successfully, but it is necessary
to get the correct static libraries. It can be manually built
against dylib, if desired, by manually adding the fluidsynth.dylib
to the Frameworks. Since this will result in a runtime dependency,
this is not set up by default.
2017-09-10 22:17:13 -05:00
Colin Snover
0185c6cffd CREATE_PROJECT: Fix Xcode builder library includes
Libraries were being included unconditionally regardless of the
arguments passed to create_project, and in the case of macOS were
being added using manual linker flags and other such hacks instead
of using the Frameworks list.
2017-09-10 22:17:13 -05:00
Colin Snover
2f32eeab9d CREATE_PROJECT: Fix typo in Xcode generator interface 2017-09-10 22:17:12 -05:00
Thierry Crozat
ab8b5273ef BUILD: Add titanic.dat files to the list of engines data files 2017-07-02 22:08:26 +01:00
Thierry Crozat
cd58664b9e CREATE_PROJECT: Add data files for access, cryo and macventure in Xcode projects 2017-02-12 20:20:28 +00:00
Thierry Crozat
5da09383dc CREATE_PROJECT: Fix linking with Xcode when not disabling curl 2017-02-06 21:51:40 +00:00
Thierry Crozat
1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Colin Snover
2ad082aeb7 CREATE_PROJECT: Fix networking backend file targets in Xcode 2016-09-01 21:09:03 -05:00
Colin Snover
97b3437f49 CREATE_PROJECT: Fix warning flags in Xcode generator
Sign comparison should be on to match other compilers, and
multichar warnings should be disabled for all platforms, not just
iOS.
2016-08-13 16:34:28 -05:00
Colin Snover
6e41f3673f CREATE_PROJECT: Fix Xcode generator macOS target 2016-08-05 10:57:57 -05:00
Johannes Schickel
dfaf97dda7 DEVTOOLS: Improve SDL2 support in create_project.
This adapts MSBuild and XCode project generators to output project files which
can be used to build the SDL backend with SDL2 easily.
2016-03-24 01:26:05 +01:00
Johannes Schickel
4a781737c1 OPENGL: Resolve OpenGL functions on run-time.
Formerly we relied on static linkage. However, in the presense of modern
OpenGL (ES) implementations it is not easily identifable which library to link
against. For example, on Linux amd64 with nVidia drivers and SDL2 setup to
create a GLES 1.1 context one would need to link against libGL.so. However,
traditionally GLES 1.1 required to link against libGLESv1_CM.so. To prevent a
huge mess we simply resolve the OpenGL functions on run-time now and stop
linking against a static library (in most cases).

GLES support needs to be enabled manually on configure time for now.

Tizen changes have NOT been tested.
2016-03-16 20:29:24 +01:00