Commit Graph

41 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 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
Johannes Schickel c00ab00f25 DEVTOOLS: Factor out function to create directories in create_project. 2013-11-24 00:48:01 +00:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel 73598c64dc CREATE_PROJECT: Fix "if" formatting. 2012-08-09 03:25:37 +02:00
Littleboy 67751f77c8 CREATE_PROJECT: Output Groups and File references in XCode provider 2012-07-14 16:33:41 -04:00
Willem Jan Palenstijn 478fd0ed29 CREATE_PROJECT: Clarify license on imported code
License confirmed by personal email by littleboy.
This clarification was requested in bug #3527268.
2012-06-24 18:19:26 +02:00
Pawel Kolodziejski b77f42b3b1 DEVTOOLS: take usage of config.h for xcode; few small updates 2012-04-17 14:45:22 +02:00
Christoph Mallon 9f827e3392 JANITORIAL: Remove +x from files, which should not be executable. 2012-03-17 22:43:32 +01:00
Johannes Schickel 8f58ddefc6 ALL: Remove more m4/mads leftovers.
Some project files (iPhone) and backend files (Symbian) still reference m4.dat,
but I know not enough on how to remove that without breaking something.
2011-11-20 04:34:22 +01:00
Julien 3db8abca68 CREATE_PROJECT: Add complete build configuration output to XCode provider 2011-06-02 17:29:40 -04:00
Julien aba5a5a6ee CREATE_PROJECT: Add ResourcesBuildPhase output to Xcode provider 2011-06-02 17:29:39 -04:00
Julien d4d857738a CREATE_PROJECT: Add FrameworkBuildPhase output to XCode provider 2011-06-02 17:29:38 -04:00
Julien c0ef09f546 CREATE_PROJECT: Add NativeTarget output to XCode provider 2011-06-02 17:29:37 -04:00
Julien 9854f1b486 CREATE_PROJECT: Implement basic XCode provider
This only outputs a skeleton project with no files and targets yet
2011-06-02 17:29:36 -04:00
Julien 9717d5be6f CREATE_PROJECT: Add stubs for Xcode provider 2011-06-01 17:34:32 -04:00