This repository contains everything that you need to build Arx Libertatis in both 32-bit and 64-bit under Windows with MSVC 2015 or newer. It also contains the necessary to build installers for the game.
Additionally, you'll need the following libraries to build the Crash Reporter:
Detailed instructions are available on the wiki.
-
Download the content of this repository to your PC, for example in GitBash:
cd /c/Code/git git clone git://github.com/arx/ArxWindows.git --depth 1
-
Download the Arx Libertatis source code:
cd /c/Code/git/ArxWindows git submodule update --init --remote --recursive
-
Make sure Arx Libertatis is at the desired branch/tag/commit:
cd /c/Code/git/ArxWindows/arx git checkout master
-
Generating the project files
cd /c/Code/git/ArxWindows mkdir build cd build cmake .. -G "Visual Studio 15 2017"
Replace
"Visual Studio 15 2017"
with the desired CMake generator name, for example"Visual Studio 15 2017 Win64"
for 64-bit builds. Starting with CMake 3.1 the architecture should be specified seperatelycmake .. -G "Visual Studio 16 2019" -A x64
Valid Architectures are Win32, x64, ARM and ARM64. If you intend to use Visual Studios incremental builds, add -DDEVELOPER=1 to the command
cmake .. -G "Visual Studio 16 2019" -A x64 -DDEVELOPER=1
-
Build the generated solution in Visual Studio