Difference between revisions of "How to build VCMI (macOS)"
From VCMI Project Wiki
(→Preparing place) |
(→Building) |
||
Line 16: | Line 16: | ||
== Building == | == Building == | ||
− | + | * Open generated Xcode project vcmi.xcodeproj in build directory | |
− | |||
− | |||
− | * Open generated Xcode project vcmi.xcodeproj | ||
* Select vcmiclient in list of targets and press Run (Command + R) | * Select vcmiclient in list of targets and press Run (Command + R) |
Revision as of 14:05, 2 May 2014
Prerequisites
- Xcode. Can be downloaded from Mac App Store.
- CMake. Can be downloaded from (link) or installed from Homebrew/MacPorts
- Any git client you prefer.
Preparing place
Open terminal and go to directory where you want to place vcmi and run:
mkdir vcmi && cd vcmi git clone https://github.com/vcmi/vcmi.git cd vcmi sh osx/download_dependencies.sh mkdir build && cd build cmake -G Xcode .. -DENABLE_LAUNCHER=OFF
Building
- Open generated Xcode project vcmi.xcodeproj in build directory
- Select vcmiclient in list of targets and press Run (Command + R)