Commit Graph
547 Commits
Author SHA1 Message Date
SupSuper 5004c331c9 MSVC: Fix natvis not being added to project in VS2017 2018-12-23 18:39:06 +02:00
SupSuper f6c37b09ea MSVC: Add visualisations for iterators and pointers 2018-12-23 18:39:06 +02:00
SupSuper 8352986b88 MSVC: Cleanup natvis properties 2018-12-23 18:39:06 +02:00
SupSuper 3482d9bacf MSVC: Fix List visualisation showing infinite nodes 2018-12-23 18:39:06 +02:00
SupSuper 88b6959cb4 MSVC: Fix HashMap visualisation showing dummy nodes 2018-12-23 18:39:06 +02:00
SupSuper f08e7a3012 MSVC: Replace MinimalRebuild with MultiProcessor flag
MinimalRebuild is obsolete and MultiProcessorCompilation yields better performance.
2018-12-23 18:39:06 +02:00
SupSuper 0a474f2a1a CREATE_PROJECT: Fix MSVC warnings 2018-12-23 18:39:06 +02:00
SupSuper 5fce1ae464 BACKENDS: Move OSX file browser into backend 2018-12-16 10:48:13 +00:00
SupSuper 952b12311c BACKENDS: Add base support for system dialogs 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
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
Bastien Bouclet 53759fe53a ALL: Sync with ScummVM - rev. 2586ca2345 2018-07-31 21:09:37 +02:00
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Bastien Bouclet 0de4171c07 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:30:21 +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 1702925c31 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:37:45 +01: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
Bastien Bouclet 3ec01653c3 ALL: Merge from ScummVM rev 3a933138ce 2017-12-06 21:41:03 +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
Bastien Bouclet e4a719d744 AUDIO: Remove the MT32 emulator
It's not used in ResidualVM and it's a pain to merge
2017-09-02 15:17:52 +02:00
Bastien Bouclet 84e62b6c8d ALL: Sync with ScummVM - rev. 87ebc7140c 2017-09-02 15:04:07 +02: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