How to build Craft - patwonder/craft-othello GitHub Wiki
Introduction
This page introduces how to build Craft from the cloned source.
Details
- Clone the craft-othello repository:
git clone https://github.com/patwonder/craft-othello.git
- Open "Othello\Craft.sln" using Microsoft Visual Studio 2013.
- Right click "Craft Engine" in the solution explorer, and choose "Properties".
- Expand to "Configuration\Linker\Optimization". Make sure "Link time code generation" option has been set to "/ltcg" for the "Release" configurations you want to build (Win32 or x64).
- Build the project.
- Before running Craft, copy the contents under "Othello\Game" folder into where the executable is built. For example, "Release|Win32" -> "Othello\Release", "Release|x64" -> "Othello\x64\Release".
Notes
Since the offical release is built using Profile-Guided Optimizations(PGO), your own build may not be as fast as the official one. If you want to create your own PGO build, follow the instructions at http://msdn.microsoft.com/en-us/library/e7k32f4k(VS.80).aspx .