-
Notifications
You must be signed in to change notification settings - Fork 12
Developing on Windows (Visual Studio 2015)
mogemimi edited this page Jun 18, 2017
·
11 revisions
⚠️ TODO: This is the documentation for older version. These sections needs updating for the latest version of the engine.
- Git
- Python 2.7+
- Windows >= 10
- Visual Studio 2015+
git clone https://github.com/mogemimi/pomdog.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 --depth=1 https://chromium.googlesource.com/external/gyp.git tools/gyp
Third-party libraries:
cd third-party
git pull origin master
GYP:
cd tools/gyp
git pull origin master
python setup.py install
Generate visual studio project files:
PowerShell
python tools\gyp\gyp_main.py test\TestApp\TestApp.gyp `
--depth=. -f msvs -G msvs_version=2015 `
--generator-output=build.msvs `
-Dcomponent=static_library
Windows command prompt (Cmd)
python tools\gyp\gyp_main.py test\TestApp\TestApp.gyp ^
--depth=. -f msvs -G msvs_version=2015 ^
--generator-output=build.msvs ^
-Dcomponent=static_library
Git Bath
python tools/gyp/gyp_main.py test/TestApp/TestApp.gyp \
--depth=. -f msvs -G msvs_version=2015 \
--generator-output=build.msvs \
-Dcomponent=static_library
You can also use gyp
instead of python tools/gyp/gyp_main.py
:
gyp test/TestApp/TestApp.gyp --depth=. -f msvs \
-G msvs_version=2015 \
--generator-output=build.msvs \
-Dcomponent=static_library
For information on how to install gyp, see How to Install GYP on the wiki.
PowerShell
$env:Path += ";C:\Program Files (x86)\MSBuild\14.0\Bin"
MSBuild build.msvs\test\TestApp\TestApp.sln /t:Build /p:Configuration=Release
Windows command prompt
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
MSBuild build.msvs\test\TestApp\TestApp.sln /t:Build /p:Configuration=Release
Git Bash (MinGW)
export PATH="$PATH:/c/Program Files (x86)/MSBuild/14.0/Bin"
MSBuild.exe build.msvs/test/TestApp/TestApp.sln -t:Build -p:Configuration=Release
WIP 😱
Working Directory |
---|
$(ProjectDir)..\..\..\test\TestApp |