Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will build static libraries and a test suite for the specified target. The build configuration options can be found in config/Make.rules.

When building for iPhone in debug mode, make will by default build only for armv7. You can specify different architecture(s) with CXXARCHFLAGS, for example:

 $ make COMPILE_FOR_IPHONE=yes CXXARCHFLAGS="-arch arm64

IceTouch supports armv7armv7s and arm64.

 

If you built for iPhone or the iPhone simulator, you should now use Xcode to build the demos and test suite GUI located in the following subdirectories:

...

For the iPhone or iPhone simulator, the test suite runs within an iPhone application named "Test Suite". You can run it from the Xcode project located in the cpp/test/iPhone/container directory. Note that the C++ tests must be run from Xcode; they won't run if you launch the Test Suite application from the device directly.If you built Ice Touch in debug mode (the default), you must ensure that the architecture used to build the tests or demos is the same architecture as the one used to build Ice Touch. To build Ice Touch and the tests with a specific architecture, you can set CXXARCHFLAGS in config/Make.rules or on the make command line:

$ make COMPILE_FOR_IPHONE=yes CXXARCHFLAGS="-arch arm64"

Available architectures are armv7, armv7s and arm64The architecture used to build the "Test Suite" application or the hello demo is specified with the "Architectures" build setting in the Xcode project. It must match the architecture used to build Ice Touch.

...