-
Notifications
You must be signed in to change notification settings - Fork 12
Building Runtime Libraries on Windows
mogemimi edited this page Dec 27, 2015
·
7 revisions
- Windows 8 and Visual Studio 2015
- Python 2.7+
First, acquire the source code and all dependencies by cloning the git repository.
git clone https://github.com/mogemimi/pomdog.git
cd pomdog
git submodule update --init
Please see Download Build Dependencies for more information.
Second, you need to generate the Visual Studio project files (.sln and .vcxproj) using GYP wrapper script:
python tools/gyp.py build/pomdog.gyp -f msvs
PowerShell
$env:Path += ";C:\Program Files (x86)\MSBuild\14.0\Bin"
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/build/pomdog.sln -t:Build -p:Configuration=Release
To switch between Debug/Release modes, use the p:Configuration
option:
# PowerShell
/p:Configuration=Debug
/p:Configuration=Release
# Git Bash
-p:Configuration=Debug
-p:Configuration=Release
After a complete build, you will find the "libpomdog.lib" file in build\Release
(also build\Debug
) directory.