Updated README
* More infos about commandline build * Notice about building it on 10.6master
parent
4d82e089af
commit
2ac8c1ae26
22
README.md
22
README.md
|
@ -2,13 +2,16 @@
|
|||
|
||||
This Xcode project can be used to build [minetest-c55](https://github.com/celeron55/minetest).
|
||||
|
||||
Use the branch `delta` if you want to build [minetest-delta](https://github.com/erlehmann/minetest-delta). But that branch is pretty old.
|
||||
Fore more information have a look the [official homepage](http://c55.me/minetest/).
|
||||
|
||||
## Requirements
|
||||
|
||||
This was tested on OS X 10.7 with Xcode 4. It includes all needed 3rd party libraries.
|
||||
It builds a 32bit 10.6 compatible application bundle.
|
||||
|
||||
Somebody also reported that he was able to build it with Xcode 3.2.5 under 10.6 using
|
||||
the debugging build settings from the commandline.
|
||||
|
||||
## How to build minetest
|
||||
|
||||
### Getting the code
|
||||
|
@ -22,7 +25,22 @@ There are now two easy ways to get your app. The final product always ends up in
|
|||
|
||||
### Commandline
|
||||
|
||||
* Run `xcodebuild` in the minetest-mac folder
|
||||
### Build for debugging
|
||||
|
||||
You probably don't care about correctly set version information and stuff while coding.
|
||||
So just run `xcodebuild -target "App Bundle"` in the minetest-mac folder.
|
||||
|
||||
### Building for release
|
||||
|
||||
`xcodebuild -target "Release Bundle"`
|
||||
|
||||
The release version is not very different to the above 'App Bundle'. The important
|
||||
difference is, that it contains the proper version strings everywhere. It's set up
|
||||
to work on my machine so you may have to modify some build settings in Xcode:
|
||||
|
||||
It uses `git describe --tags` to get the version. So the minetest code should reside in
|
||||
a git repository. If your `git` doesn't live in `/usr/local/bin/` you have to modify the
|
||||
'Version from git' target in the build settings.
|
||||
|
||||
### Xcode GUI
|
||||
|
||||
|
|
Loading…
Reference in New Issue