| 1 | buildtool |
| 2 | -- |
| 3 | The purpose of this tool is to duplicate the functionality of xcodebuild. |
| 4 | The associated library for this tool is libs-xcode. This library provides |
| 5 | the means of parsing and "executing" the build. |
| 6 | |
| 7 | This tool is a simple front-end to the XCode library. It provides |
| 8 | the user with a simple interface with which to build xcode projects. |
| 9 | |
| 10 | How to use it: |
| 11 | ---- |
| 12 | 1) Go into an Xcode project directory. |
| 13 | 2) type "buildtool" |
| 14 | * by default, buildtool executes its 'build' sub-command |
| 15 | that builds the Xcode project using the build phases and |
| 16 | settings defined there |
| 17 | 3) buildtool will create a build directory with the following structure: |
| 18 | * ```build/$(TARGET_NAME)/Products/$(PRODUCT_NAME).app``` |
| 19 | |
| 20 | The tool will copy all the resources into the directory for the application. |
| 21 | The above is simply an example, you can build any kind of target based on the |
| 22 | frameworks we have. |
| 23 | |
| 24 | Other sub-commands for buildtool include: |
| 25 | * generate - the purpose of generate is to translate the Xcode |
| 26 | project file into a GNUmakefile |
| 27 | * clean - this cleans the build directory |
| 28 | |
| 29 | XCode |
| 30 | ---- |
| 31 | This library is what makes the above command work. I separated it out into |
| 32 | a lib so that it could easily be leveraged by applications that might want |
| 33 | to use it to build targets and also to get information about xcode projects. |
| 34 | |
| 35 | Please enjoy using and testing these as I have enjoyed creating them. |
| 36 | Please do not hesistate to report bugs in their respective repos. |