Skip to content

compiling_Windows

Bruno Levy edited this page Jul 17, 2022 · 6 revisions

Graphite compilation on Windows

Prerequisites

  • git here use 64-bit Git for Windows Setup.
  • Tortoise git here optionnal, adds context menus to file browser, convenient
  • CMake here use cmake-xxxx-windows-x86_64.msi IMPORTANT: select "Add CMake to system path for all users"
  • Visual C++ here use community version

Quick compilation guide

  • git clone --recurse-submodules https://github.com/BrunoLevy/GraphiteThree.git (if you installed Tortoise git, right click in current folder, git clone, enter repository address, select recursive checkbox)
  • open GraphiteThree folder
  • Optional (to get latest version of submodules): in a terminal (or using git shell here if you installed Tortoise git) git submodule update --recursive --remote
  • double click on configure.bat it should display a message that solution was generated
  • open Build/Windows/GraphiteThree.sln in VisualStudio
  • set Release mode (default is Debug)
  • build solution

Graphite is generated in the Build\Release\bin subdirectory. To start it from Visual C++, right click on GRAPHITE/binaries/Graphite in the solution explorer and set it as the startup project. Then <Ctrl><F5> starts Graphite (or <F5> to start Graphite in the debugger).

Note: The third command (git submodule update ...) is optional. It gets the latest version of the submodules.

Clone this wiki locally