NB; (An updated version of this guide can be found on the wiki)
- Visual Studio 2013 or 2015 (Community edition is enough)
- MSYSGit or Git for Windows as it's also called (
cinst git.install
if you have Chocolatey) - Note that WSL does not work for this, as it needs to execute windows executables.
- 7-zip in your path (
cinst 7zip.install
works, if you have Chocolatey) - CMake in your path (
cinst cmake.install
for Chocolatey) - ~10GB of free space per build platform (32/64-bit), for all the build artefacts.
- Time. An hour or two most likely for full release and debug builds.
- Clone the OpenMW repo.
git://github.com/OpenMW/openmw.git
- Open a Git Bash shell in the repo.
- Run the following command:
CI/before_script.msvc.sh -k -p Win64 -v 2015
. (SubstituteWin64
withWin32
if doing a 32-bit build, 2015 can also be substituted with 2013 for VS2013) - Wait for the build environment to be set up.
- ???
- Develop.
Does the
CI/before_script.msvc.sh
command need to be from Git Bash in Admin mode? I got a few errors extracting Boost that said files failed to write to some directory in VS15.