Skip to content

This repo uses one CMakeLists file to compile cross-platform static libs

Notifications You must be signed in to change notification settings

MJXin/Box2D-cocos2d-x

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

##About This Repository

  • This is NOT the official Box2D standalone project. Official website is here
  • the version of Box2D is 2.3.0

Prerequisite

You must setup ANDROID_NDK environment variable in your ~/.bashrc file to point to your NDK directory.

##Build At first:

cd Box2D

###Build for Android

./build_android.sh

###Build for iOS and Mac Change the following line to match your own iOS SDK version

IOS_SDK_VERSION="7.1"
./build_iosmac.sh

##Build for Linux

./build_linux.sh

##Build for Windows, WP8 and WinRT

  1. Generate VS project file from CMakeLists.txt

  2. Compile the static library.

About

This repo uses one CMakeLists file to compile cross-platform static libs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.4%
  • CMake 11.5%
  • C 1.6%
  • Other 0.5%