Skip to content

Developing on Windows (Visual Studio 2015)

mogemimi edited this page Jan 8, 2015 · 11 revisions

Build Requirements

  • Git
  • Python 2.7+
  • Windows >= 8
  • Visual Studio 2015+

Prerequisites

Cloning

git clone https://github.com/mogemimi/pomdog.git

Pulling all dependencies using Git

Make sure git is installed. From the root of your engine directory, run:

cd pomdog
git clone https://github.com/mogemimi/pomdog-third-party.git third-party
git clone https://chromium.googlesource.com/external/gyp.git tools/gyp

Updating all dependencies

cd pomdog
cd third-party
git pull origin master
cd ../tools/gyp
git pull origin master

Generating project files

Generate visual studio project files:

tools/gyp/gyp build/TestApp.gyp --depth=. -f msvs \
  -G msvs_version=2013 \
  --generator-output=./build.msvs/ \
  -Dcomponent=static_library

You can also use gyp instead of tools/gyp/gyp:

gyp build/TestApp.gyp --depth=. -f msvs \
  -G msvs_version=2013 \
  --generator-output=./build.msvs/ \
  -Dcomponent=static_library

For information on how to install gyp, see How to Install GYP on the wiki.

Building under MSBuild (Visual Studio 2015)

Open the Visual Studio solution file after generating using GYP.

WIP 😱