Skip to content

Building instructions

Ariel Malka edited this page Jun 25, 2015 · 21 revisions

Prerequisites (alternative versions may work)

Starting point

  • Android: define the NDK_PATH variable, e.g.
    export NDK_PATH=~/DEV/android-ndk
  • Emscripten: define the EMSCRIPTEN_PATH variable, e.g.
    export EMSCRIPTEN_PATH=~/DEV/emscripten
  • Windows/MXE: define the MXE_PATH variable, e.g.
    export MXE_PATH=~/DEV/mxe
  1. Download and unpack Boost 1.58:
cd chronotext-boost
source setup.sh
  1. Build for the relevant platforms:
./build-osx.sh
./build-ios.sh
./build-android.sh
./build-emscripten.sh
./build-mxe.sh

Notes:

  • The following static libs are built by default (packaged by platform, in the dist folder):
    • system
    • filesystem
    • iostreams
  • Edit any of the build-*.sh files in order to add/remove libs.
  • Windows/MXE:
    • Make MXE with a settings.mk such as:
    MXE_TARGETS := i686-w64-mingw32.static
    LOCAL_PKG_LIST := gcc zlib
    .DEFAULT local-pkg-list:
    local-pkg-list: $(LOCAL_PKG_LIST)
    

Clone this wiki locally