Commit Graph
256 Commits
Author SHA1 Message Date
Bastien Bouclet bd82345f0b Merge pull request #1035 from bgK/require-64bits-integers
BUILD: Require 64bits integers
2017-10-25 19:17:11 +02: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
Bastien Bouclet 55f46d3667 BUILD: Define pointer sized integer types and remove SCUMM_64BITS 2017-09-30 21:35:16 +02: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
eefa72afa1 but it was backed out in
940b2a20f1.

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
c19c10d548 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
Tobia Tesan c19c10d548 CREATE_PROJECT: Add fix for nested ifs
This adds a quick fix so that any if blocks nested inside a if block
with an unmet condition are handled with push(false) even if their
condition is satisfied.

For example, without this modification, upon running create_project.exe
--msvc --disable-cloud --enable-libcurl the block inside

ifdef USE_CLOUD
ifdef USE_LIBCURL
...
endif
endif

in backends/module.mk would get evaluated since it was inside
USE_LIBCURL (=1), leading to unpredictable results.
2017-06-24 11:05:29 +02:00
Torbjörn Andersson 6cda47ca3d JANITORIAL: Remove superfluous semicolons 2017-04-18 06:49:14 +02:00
Peter Kohaut 6bb953e25b CREATE_PROJECT: Support for a different target build directory in CMake 2017-03-10 00:21:14 +01:00
Peter Kohaut 65ef0c8ff8 CREATE_PROJECT: Fixed solution version for Visual Studio 2015 2017-03-08 22:43:47 +01:00
Peter Kohaut 27368cc845 CREATE_PROJECT: Add support for Visual Studio 2017 2017-03-08 22:30:53 +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
Filippos Karapetis a938942f03 CREATE_PROJECT: Also silence warning 4100 in MSVC
Some formal function parameters are not used in all overloaded
functions, which results in loads of 4100 warnings when building
CREATE_PROJECT. This change silences warning 4100 together with
the others
2017-02-10 00:39:43 +02:00
Thierry Crozat 2f4d14aba5 CREATE_PROJECT: Disable engines for which required features are not available 2017-02-06 23:18:02 +00:00
Thierry Crozat 14dcdb6103 CREATE_PROJECT: Add highres feature 2017-02-06 22:35:52 +00:00
Thierry Crozat 5da09383dc CREATE_PROJECT: Fix linking with Xcode when not disabling curl 2017-02-06 21:51:40 +00:00
Paul Gilbert bbef10c068 CREATE_PROJECT: Fix Visual Studio linking problems after Munt merge 2016-12-17 15:12:52 -05:00
Paul Gilbert 990bd641ae CREATE_PROJECT: Fix MSVC project creation with curl or SDL_Net enabled 2016-10-20 21:00:32 -04:00
Littleboy 42d8a82c43 CREATE_PROJECT: Do not copy into non-existent msvc8 dist folder 2016-09-23 22:38:17 -04:00
Littleboy e34960f633 CREATE_PROJECT: Add SCUMM_64BITS to ScummVM_Global64.props (fixes #9566) 2016-09-23 22:34:47 -04:00
Bastien Bouclet 7155f14310 CREATE_PROJECT: Use SDL_Net2 when building with SDL2 for cmake 2016-09-15 12:44:57 +02:00
Thierry Crozat 1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Eugene Sandulenko 27c0ddd807 Merge pull request #822 from csnover/apple-network-browser
CREATE_PROJECT: Fix networking backend file targets in Xcode
2016-09-04 10:47:56 +02:00
Bastien Bouclet cda41d2fb4 CREATE_PROJECT: Add CURL and SDL_net to the list of libraries for cmake generation 2016-09-03 07:58:35 +02:00
Colin Snover 2ad082aeb7 CREATE_PROJECT: Fix networking backend file targets in Xcode 2016-09-01 21:09:03 -05:00
Alexander Tkachev fade746f37 CLOUD: Add USE_CLOUD feature
Adds USE_CLOUD in both configure and create_project.
2016-08-24 16:07:55 +06:00
Filippos Karapetis c69eb82527 CREATE_PROJECT: Switch SDL backend to SDL2 by default
This adapts create_project with the changes in de04a68c06
2016-08-22 13:09:49 +03:00
Vincent Bénony 9cc3abc0fb CREATE_PROJECT: Fix Xcode project 2016-08-18 17:00:20 +02: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
Paul Gilbert add058a8b8 CREATE_PROJECT: Add warning C4373 to ignore list for SCI engine 2016-08-12 20:18:20 -04:00
Colin Snover 6e41f3673f CREATE_PROJECT: Fix Xcode generator macOS target 2016-08-05 10:57:57 -05:00
Bastien Bouclet 15cc188abe CREATE_PROJECT: Fix MSVC compilation
Fixes #7173.
2016-07-24 14:18:10 +02:00
Eugene Sandulenko afcf31f194 CREATE_PROJECT: Fix MSVC project files 2016-07-24 06:43:04 +03:00
Eugene Sandulenko 11a7598aa8 CREATE_PROJECT: Hopewfully fix MSVC compilation 2016-07-24 06:31:11 +03:00
Bastien Bouclet e1c186e85f DEVTOOLS: Fix create_project build with MinGW64 2016-07-07 18:47:18 +02:00
Bastien Bouclet 6a3e07dca5 DEVTOOLS: Add a CMake project generator to create_project
Also-By: Joel Teichroeb <joel@teichroeb.net>
Also-By: Einar Johan Trøan Sømåen <einarjohants@gmail.com>
2016-07-07 18:47:18 +02:00
Filippos Karapetis 8b3a08047c UPDATES: Add support for WinSparkle 2016-05-22 18:52:33 +03:00
Filippos Karapetis e17d1a1482 CREATE_PROJECT: Whitespace fixes 2016-05-22 16:28:40 +03: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 567a6b4712 DEVTOOLS: Slight formatting fix. 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