|
|
(42 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
− | == Prerequisites ==
| + | {{Template:MovedToWebpage|https://vcmi.eu/developers/Building_macOS/}} |
− | * Xcode. Can be downloaded from Mac App Store.
| |
− | * CMake. Can be downloaded from ([http://www.cmake.org/cmake/resources/software.html link]) or installed from MacPorts
| |
− | * Any git client you prefer.
| |
− | * Archive with prebuilt libraries and frameworks ([http://download.vcmi.eu/xcode-pack.zip link])
| |
− | | |
− | == Preparing place ==
| |
− | * Unzip downloaded archive
| |
− | * Open terminal and go to extracted xcode-pack directory
| |
− | * Checkout source via git:
| |
− | <pre>git clone https://github.com/vcmi/vcmi.git</pre>
| |
− | * Open vcmibuilder.xcodeproj located at vcmi/osx/osx-vcmibuilder
| |
− | * Archive it (Product -> Archive) and than (in Organizer window press Distribute -> Export as: Application) save it in vcmi/osx directory
| |
− | | |
− | == Building ==
| |
− | * Open terminal in vcmi directory:
| |
− | <pre>mkdir build && cd build
| |
− | cmake -G Xcode ..</pre>
| |
− | * Open generated Xcode project vcmi.xcodeproj
| |
− | * Select vcmiclient in list of targets and press Run (Command + R)
| |