209 Commits

Author SHA1 Message Date
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
Johannes Schickel
edfc84b67a DEVTOOLS: Use LTCG for Release configurations in MSBuild project files.
Silences linker output that LTCG is used anyway because whole program
optimization is enabled for these configurations.
2016-03-13 20:41:40 +01:00
Johannes Schickel
66a74cf3f3 DEVTOOLS: Check configuration and architecture specific directories for MSBuild. 2016-03-09 22:03:47 +01:00
Johannes Schickel
7127fadc96 DEVTOOLS: Use DLL runtime for MSBuild output. 2016-03-09 22:03:47 +01:00
Johannes Schickel
5510fdc7e4 DEVTOOLS: Use libpng16.lib for libpng for MSVC.
Modern libpng releases use this library name as output for their MSVC project files.
2016-03-09 22:03:47 +01:00
Johannes Schickel
46ef80963f DEVTOOLS: Enable Edit&Continue on x64 for MSVC2015+. 2016-03-09 22:03:47 +01:00
Johannes Schickel
1c2dc2f89d DEVTOOLS: Do not ignore libcmt.lib for MSBuild output.
This hints at broken library builds and thus should not be set for us.
2016-03-09 22:03:47 +01:00
Johannes Schickel
24558307c2 DEVTOOLS: Do not hardcode runtime libraries for MSVC2015. 2016-03-09 22:03:47 +01:00
Johannes Schickel
d3dba1b086 DEVTOOLS: Do not specify SCUMMVM_LIBS include dir twice for MSBuild. 2016-03-09 22:03:47 +01:00
Johannes Schickel
d2f3bc39b4 DEVTOOLS: Fix path separator in MSBuild's global props output. 2016-03-09 22:03:47 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Vincent Bénony
3b3668bb95 CREATE_TOOL: Use tabs instead of spaces... 2016-01-11 16:39:22 +01:00
Vincent Bénony
a6fe4d2499 CREATE_TOOL: Renames static libraries used for iOS target 2016-01-11 16:33:36 +01:00
Vincent Bénony
b5ef98637c IOS: Renames a macro 2016-01-07 09:55:56 +01:00
Vincent Bénony
a4f9b9e2ae DEVTOOL: Fixes a typo in an unused macro 2016-01-06 16:20:31 +01:00
Vincent Bénony
c7e65e60dd DEVTOOL: Formatting 2016-01-06 16:20:31 +01:00
Vincent Bénony
40373d80a6 DEVTOOL: Fixes a typo 2016-01-06 16:20:31 +01:00
Vincent Bénony
56f6ac5f6e DEVTOOL: Removes useless macro 2016-01-06 16:20:31 +01:00
Vincent Bénony
4cea4904a1 DEVTOOL: Formatting 2016-01-06 16:20:30 +01:00
Vincent Bénony
cbde1ef953 DEVTOOL: Adds a macro for the iOS 7 target 2016-01-06 16:20:29 +01:00
Vincent Bénony
4687ff6d6d DEVTOOL: Cleanup 2016-01-06 16:19:11 +01:00
Vincent Bénony
64f50761ec IOS: Merge master 2016-01-06 16:19:03 +01:00
Vincent Bénony
c99456ecff IOS: Brings support for FluidSynth 2016-01-06 16:17:38 +01:00
Vincent Bénony
7ca7608711 IOS: Support for libmad 2016-01-06 16:17:38 +01:00
Vincent Bénony
ee73bb428f IOS: Compute MD5 identifiers instead of random
To avoid recompiling the wole project each time we use the create_project tool.
2016-01-06 16:17:36 +01:00
Vincent Bénony
66c195f55e IOS: Changes the debug information format
Mainly, to speed up the development with the "debug" configuration.
2016-01-06 16:17:36 +01:00
Vincent Bénony
84c603bbb3 IOS: Cleanup Xcode settings 2016-01-06 16:17:36 +01:00
Vincent Bénony
481884e778 IOS: Fixes small issues about the project name 2016-01-06 16:17:36 +01:00
Vincent Bénony
ce1b955dda IOS: Cleanup preprocessor macros 2016-01-06 16:17:34 +01:00
Vincent Bénony
907af3fe03 IOS: Modernize Xcode project 2016-01-06 16:17:34 +01:00
Vincent Bénony
bb9e2b97df IOS: More Xcode path fixed 2016-01-06 16:17:34 +01:00
Vincent Bénony
616ec2a924 IOS: Fixes Xcode group paths
The generated project paths were recognized by Xcode, but not third party tools, like AppCode.
2016-01-06 16:17:34 +01:00
Vincent Bénony
638dc113f8 IOS: Create two targets for old iPhone (iOS <= 6) and new one (iOS >= 7)
The "iphone" backend is the support for the old iPhones.
The "ios7" backend is for the new iPhones.
2016-01-06 16:17:33 +01:00
Vincent Bénony
d265b80fbf IOS: Removes an unused local variable 2016-01-06 16:17:32 +01:00
Vincent Bénony
cfa9172a6e IOS: Fixes a small memory leak 2016-01-06 16:17:32 +01:00
Vincent Bénony
99844a81b0 IOS: Replaces whitespaces with tab 2016-01-06 16:17:32 +01:00
Vincent Bénony
43f02471ea IOS: Fixes a crash of the create_project tool when the lib directory is not found 2016-01-06 16:17:32 +01:00
Vincent Bénony
c1e664b6d6 IOS: Replaces spaces with tabs 2016-01-06 16:17:31 +01:00
Vincent Bénony
304bffa90e IOS: Once again, changes the iOS deployment target 2016-01-06 16:17:29 +01:00
Vincent Bénony
62e281df26 IOS: Changes the deployment target to iOS 7.0 2016-01-06 16:17:29 +01:00
Vincent Bénony
433808b7dc IOS: Properly adds the resource files to the targets 2016-01-06 15:35:35 +01:00
Vincent Bénony
a8d65195ce IOS: Adds an helper function 2016-01-06 15:35:35 +01:00
Vincent Bénony
ef2903c509 IOS : Rename a function 2016-01-06 15:35:35 +01:00
Vincent Bénony
a9a61cdba5 IOS: Converts spaces to tabs 2016-01-06 15:35:34 +01:00
Vincent Bénony
2bffce5e72 IOS: Adds the image asset catalog to the iOS targer 2016-01-06 15:35:34 +01:00
Vincent Bénony
c594cfdde1 IOS: Removes "auto", and use an explicit type 2016-01-06 15:35:34 +01:00
Vincent Bénony
c5009aff24 IOS: Typo in comment 2016-01-06 15:35:34 +01:00
Vincent Bénony
b58ec8f15a IOS: Fixes various iOS compilation flags, and missing frameworks 2016-01-06 15:35:33 +01:00