-
Notifications
You must be signed in to change notification settings - Fork 12
Building Runtime Libraries on Mac OS X
mogemimi edited this page Jan 26, 2018
·
8 revisions
- Mac OS X 10.11
- Python 2.7+
- Xcode 9.2+ (Apple LLVM version 9.0.0)
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 Xcode project file (.xcodeproj) using GYP wrapper script:
python tools/gyp.py build/pomdog.gyp -f xcode
xcodebuild -project build.xcodefiles/build/pomdog.xcodeproj
To build in release mode, use -configuration
option:
xcodebuild -project build.xcodefiles/build/pomdog.xcodeproj -configuration Release
After a complete build, you will find the "libpomdog.a" and "Pomdog.framework" file in build/Release
(also build/Debug
) directory.