Commit Graph
268 Commits
Author SHA1 Message Date
SupSuper 8ac1292969 CREATE_PROJECT: Remove non-existent msvc8 from build steps 2018-11-17 04:18:59 +00:00
Yoshi Sugawara b4bad9100a IOS: Support building in Xcode 10/iOS 12, and for iPhone X-like devices that have a "safe area"
iOS 12 drops support for libstdc++, so the project needs to be compiled explicitly using libc++.
Support the "safe area" when redrawing the view to leave space for the notch in portrait and
landscape orientations.
2018-10-28 17:16:06 +00:00
D G Turner 48ece56baf DEVTOOLS: Fix Performance Issue Warning in create_project.
This is the last fix for bug Trac #10655.
2018-10-07 08:57:03 +01: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
Cameron Cawley 90299eb73e CREATE_PROJECT: Fix creating CMake projects outside of the main source directory 2018-08-11 08:22:03 +02:00
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Bastien Bouclet 04c321d200 CREATE_PROJECT: CMAKE: Fix importing SDL2 when it was built using CMake
When SDL is built using CMake, Find_Package imports a target instead of
defining variables. If a target was imported we now define the include
path and linker flags variables from the target's properties.

Using imported targets is a best practice. Ideally, we should define an
imported target when we detect variables were defined.
However, the linker flags variable would need to be parsed into a
library path and a list of libraries, making that approach impractical.
2018-04-22 09:27:04 +02:00
Bastien Bouclet 728f4d4ba5 CREATE_PROJECT: Place libs requiring symbols before libs providing them
In the CMake generator. So the linker can resolve the symbols it marked
as unresolved as it walks the libraries.

Fixes building ResidualVM with msys2 from Qt Creator on Windows.
2018-03-20 19:36:44 +01: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
Strangerke 8fb278229b TOOLS: Add cryo and titanic tools in create_project 2017-12-25 21:05:04 +01:00
Colin Snover 61a63f8400 CREATE_PROJECT: Fix compilation failure in C++11 mode
Getting the address of an rvalue is invalid, and not necessary
here.

Once C++11 can be used always, this utility function can just be
replaced with std::to_string.
2017-11-17 22:47:59 -06:00
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