Commit Graph
153 Commits
Author SHA1 Message Date
Johannes Schickel 84ac8fa735 DEVTOOLS: A few formatting fixes. 2015-12-12 06:54:58 +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 d09c3e28a6 DEVTOOLS: Remove 'explicit' keyword from multi parameter constructors.
This does not make sense in C++98. For C++11 this only prevents Foo x = {...}
initialization, which we can't use anyway.
2015-12-12 06:54:57 +01:00
Johannes Schickel c9d7299e65 DEVTOOLS: Cleanup code. 2015-12-12 06:54:57 +01:00
Johannes Schickel 3ad5ad57e2 DEVTOOLS: Use default copy constructor.
The formerly user supplied copy constructor was not identical to the default
generated, but the output of create_project for xcode is unchanged.
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
Paul Gilbert fbcf667b6a CREATE_PROJECT: Cleanup and turn off exception handling again 2015-10-12 14:39:28 -04:00
Paul Gilbert 89dfd36b60 CREATE_PROJECT: Add support for Visual Studio 2015 2015-09-28 19:23:58 -04: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
Einar Johan Trøan Sømåen be35b8b12b CREATE_PROJECT: Use SRCROOT-relative include paths. 2015-04-09 20:35:54 +02:00
Einar Johan Trøan Sømåen 21d0210758 CREATE_PROJECT: Set projectDirPath to the source-path in XCode. 2015-04-09 20:27:21 +02:00
Einar Johan Trøan Sømåen 32b2454751 CREATE_PROJECT: Don't add -fno-rtti. 2015-04-09 20:02:19 +02:00
Einar Johan Trøan Sømåen e24737f142 CREATE_PROJECT: Modify producesObjectFile to take .m and .mm into account.
This should be safe outside XCode, as only OSX/iOS-projects introduce such files to begin with.
2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen 7de2f25466 CREATE_PROJECT: Remove leftover _rootGroups. 2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen ff802b8eae CREATE_PROJECT: Add SRCROOT and SRCROOT/engines to USER_HEADER_SEARCH_PATHS for XCode. 2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen 24f9c95ee9 CREATE_PROJECT: Link against libpng and libfreetype in XCode-projects. 2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen 0801a553bd CREATE_PROJECT: Enable RTTI in XCode-projects. 2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen f4a9f2035b CREATE_PROJECT: Add the product files to a group in XCode aswell (makes things easier when configuring build-schemes) 2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen 1f13d42c6b CREATE_PROJECT: Refactor the Framework and library adding for XCode, and add the relevant Frameworks to a group. 2015-04-09 20:02:18 +02:00
Einar Johan Trøan Sømåen 790f7dc017 CREATE_PROJECT: Introduce a subclass of Object to manage group-creation.
This rewrites the way groups are created, so that the root source folder has groups created for any subfolder that is used, which allows for
merging in the engines/-subfolder automatically.
2015-04-09 20:02:17 +02:00
Einar Johan Trøan Sømåen 000b80263c CREATE_PROJECT: Add macros to disable IOS-project creation for now. 2015-04-09 20:02:17 +02:00
Einar Johan Trøan Sømåen 219a43d745 CREATE_PROJECT: Revert idea about createOneProjectPerEngine. 2015-04-09 20:02:17 +02:00
Einar Johan Trøan Sømåen 675bbde436 CREATE_PROJECT: Use a different producesObjectFile-function for Xcode, so that we can allow Objective-C(++) and disallow .asm 2015-04-09 20:02:17 +02:00
Einar Johan Trøan Sømåen 484ad4dde7 CREATE_PROJECT: Define MACOSX and POSIX in XCode-projects for now (ignoring iOS for the moment) 2015-04-09 20:02:17 +02:00
Einar Johan Trøan Sømåen 8cd84a0152 CREATE_PROJECT: Define a group for the Frameworks, and add it to the mainGroup, so that the buildPhase can figure things out. 2015-04-09 20:02:17 +02:00
Einar Johan Trøan Sømåen 16618acef7 CREATE_PROJECT: Explicitly add /opt/include/freetype2 to header paths. 2015-04-09 20:02:16 +02:00
Einar Johan Trøan Sømåen bf919232e9 CREATE_PROJECT: Enable XCode-project creation. 2015-04-09 20:02:16 +02:00
Einar Johan Trøan Sømåen f8b054621a CREATE_PROJECT: Implement setupSourcesBuildPhase for XCode, basing it on setupResourcesBuildPhase. 2015-04-09 20:02:16 +02:00
Einar Johan Trøan Sømåen 8af5d6e722 CREATE_PROJECT: Disable the WIN32-define when creating an XCode-project. 2015-04-09 20:02:16 +02:00
Einar Johan Trøan Sømåen 7052823969 CREATE_PROJECT: Make sure that children of PBXGroups are always listed as a list with "," after every item, even when there's only one child.
This modifies the combination of SettingsAsList and SettingsSingleItem so that "," is used after the item, instead of ";", but only when they are used together.
2015-04-09 20:02:16 +02:00
Einar Johan Trøan Sømåen 7e7347f877 CREATE_PROJECT: Modify XCodeProvider to add the various folders as groups, instead of file-references, hardcoding the root as the group "CustomTemplate"
This also modifies the hashes, so that subfolders get unique hashes, even if they have the same name as some other folder in the tree (i.e. there are multiple folders named "sdl" in the various subfolders of backends/platforms).
2015-04-09 20:02:16 +02:00
Einar Johan Trøan Sømåen 9ef6e59805 CREATE_PROJECT: Make ProjectProvider able to work properly with subclasses that want to create one single project. 2015-04-09 20:02:15 +02:00
Einar Johan Trøan Sømåen d6625c20bf CREATE_PROJECT: Use whatever SDK is available on OS X. 2015-04-09 20:02:15 +02:00
Einar Johan Trøan Sømåen b2ff6726cd CREATE_PROJECT: Fix Info.plist path. 2015-04-09 20:02:12 +02:00
Einar Johan Trøan Sømåen 0395948cd3 CREATE_PROJECT: Quote lastKnownFileType, name and path to avoid breakage on c++11-compat.h 2015-04-09 20:01:56 +02:00
Einar Johan Trøan Sømåen 8f66bc1c92 CREATE_PROJECT: Escape \" in "<group>" for PBXFileReferences during writeFileListToProject
This has to be applied explicitly, as modifying ADD_FILE_REFERENCE to use SettingsQuoteVariable would be wrong (i.e. SDKROOT should not become "SDKROOT").
2015-04-09 20:01:52 +02:00
Einar Johan Trøan Sømåen e69696a536 CREATE_PROJECT: Make PBXGroups use PBXFileReference-hashes instead of PBXBuildFile-hashes. 2015-04-09 20:01:48 +02:00
Filippos Karapetis 9a49493656 DEVTOOLS: Add support for linking with SDL 2.0 in create_project
This is handled with the new command-line option, --sdl2
2015-03-06 02:39:57 +02:00
Pawel Kolodziejski 79d4f09cab CREATE_PROJECT/MSVC: allow include SDL includes from SDL subdir 2014-07-17 13:59:56 +02:00
David Turner cb596113a7 Merge pull request #461 from digitall/vkeybdFix
Add trigger for Virtual Keyboard on long press of Middle Mouse Button
2014-06-28 14:59:08 +01:00
D G Turner 536203b352 DEVTOOLS: Add "small" vkeybd pack to create_project postbuild script. 2014-06-25 20:14:17 +01:00
Johannes Schickel 59036a40ce DEVTOOLS: List MSVC 2013 support in create_project's help output. 2014-06-22 02:02:05 +02:00
Joel Teichroeb c43ce9ecf3 ALL: Remove support for MSVC8 and older
MSVC8 gives various compile error relating to templates that were changed
back in 2008, leading me to belive that no one is using it, and that there
is not point adding work arounds for a 9 year old compiler no one uses.
2014-06-21 11:32:45 -07:00
Matthew Hoops 740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel 2fe303ce3f Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-23 15:23:12 -08:00