84 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
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
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
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
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
Vincent Bénony
4c68d145c2 IOS: Keep the MACOSX, and IPHONE macros according to the target 2016-01-06 15:35:33 +01:00
Vincent Bénony
0dde5e4a18 IOS: Remove the simulator specific target
The simulator works with the same target than the iPhone / iPad target.
2016-01-06 15:35:33 +01:00
Vincent Bénony
6b798097c7 ISO: Removes the ENABLE_IOS macro 2016-01-06 15:35:32 +01:00
Vincent Bénony
283eac7e5f IOS: Create a separate for adding resources 2016-01-06 15:35:32 +01:00
Johannes Schickel
c09a9aa1bf DEVTOOLS: Replace macro by function call. 2015-12-12 06:54:57 +01:00
Johannes Schickel
70a4047a78 DEVTOOLS: Adjust enum constant names to match our conventions. 2015-12-12 06:54:57 +01:00
Johannes Schickel
c9d7299e65 DEVTOOLS: Cleanup code. 2015-12-12 06:54:57 +01:00
Johannes Schickel
50807b3b01 DEVTOOLS: Run astyle over xcode.[cpp/h].
Manual fix up included.
2015-12-12 06:54:57 +01:00
Johannes Schickel
5d1df1c293 DEVTOOLS: Prefix varibles in structs/classes with '_' in xcode.[h/cpp].
This silences some variables and increases consistency with our code
formatting conventions.
2015-12-12 06:54:43 +01:00
Filippos Karapetis
23471eeb53 CREATE_PROJECT: Use NULL instead of nullptr
This allows create_project to be built with the C99 standard, instead
of C11
2015-07-20 01:00:09 +03:00
Filippos Karapetis
bf06576498 CREATE_PROJECT: Rename XCodeProvider -> XcodeProvider 2015-07-20 01:00:09 +03:00
Einar Johan Trøan Sømåen
c49fd6afeb CREATE_PROJECT: Remove forced USE_TREMOR define on OS X. 2015-04-09 20:41:16 +02:00
Einar Johan Trøan Sømåen
680b107278 CREATE_PROJECT: Link theora and jpeg in XCode-projects. 2015-04-09 20:39:11 +02:00