Difference between revisions of "How to build VCMI (macOS)"

From VCMI Project Wiki
Jump to: navigation, search
(Preparing place)
(Replaced content with "{{Template:MovedToWebpage|https://vcmi.eu/developers/Building_macOS/}}")
 
(37 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 Homebrew/MacPorts
 
* Any git client you prefer.
 
 
 
== Preparing place ==
 
Open terminal and go to directory where you want to place vcmi and run:
 
<pre>
 
mkdir vcmi && cd vcmi
 
git clone https://github.com/vcmi/vcmi.git
 
cd vcmi
 
sh osx/download_dependencies.sh
 
</pre>
 
 
 
== Building ==
 
* Open terminal in vcmi directory:
 
<pre>mkdir build && cd build
 
cmake -G Xcode .. -DENABLE_LAUNCHER=OFF</pre>
 
* Open generated Xcode project vcmi.xcodeproj
 
* Select vcmiclient in list of targets and press Run (Command + R)
 

Latest revision as of 16:08, 16 July 2024

Logo256.png    Page moved to VCMI-Homepage