LiquidFun Build and Run Instructions
|
LiquidFun releases contain an Xcode project to build the library and samples on OS X. The Xcode project has been generated using cmake, and is free of any host-specific dependencies.
Following are the minimum required versions for the tools and libraries you need for building LiquidFun for OS X:
DISPLAY
environment variable for Xquartz, which enables sample applications to run correctly.liquidfun/Box2D/Box2D.xcodeproj
to open the project in Xcode.Scheme
, for example "Testbed-->My Mac 64-bit", from the combo box to the right of the "Run" button.When working directly with the source, you can generate the Xcode project using cmake. cmake version 2.8.12.1 or above is required to build this project on OS X 10.9 (Mavericks). For example, the following generates the Xcode project in the liquidfun/Box2D directory.
cd liquidfun/Box2D cmake -G "Xcode"
Developers modifying the LiquidFun library can verify that it is still working correctly by executing the provided unit tests.
Use the run_tests.sh script to execute unit tests:
./liquidfun/Box2D/Unittests/run_tests.sh