cleanup and comments
This commit is contained in:
parent
4b0dd3c009
commit
efb704185f
1 changed files with 3 additions and 34 deletions
|
@ -28,40 +28,6 @@
|
||||||
# $ make
|
# $ make
|
||||||
# $ sudo make install
|
# $ sudo make install
|
||||||
#
|
#
|
||||||
# emscripten notes:
|
|
||||||
# additionally to the depencies below
|
|
||||||
# you may have to build freetype from source
|
|
||||||
# and with that also bzip2
|
|
||||||
# $
|
|
||||||
# $ # tinyxml2:
|
|
||||||
# $ cd your/favorite/persistent/build/directory
|
|
||||||
# $ git clone https://github.com/leethomason/tinyxml2.git
|
|
||||||
# $ cd tinyxml2
|
|
||||||
# $ mkdir build && cd build
|
|
||||||
# $ emcmake cmake ..
|
|
||||||
# $ emmake make
|
|
||||||
# $ emmake make install
|
|
||||||
# $
|
|
||||||
# $ # zlib:
|
|
||||||
# $ cd your/favorite/persistent/build/directory
|
|
||||||
# $ wget https://www.zlib.net/zlib-1.2.13.tar.gz
|
|
||||||
# $ tar -xf zlib-1.2.13.tar.gz
|
|
||||||
# $ cd zlib-1.2.13.tar.gz
|
|
||||||
# $ mkdir build && cd build
|
|
||||||
# $ emcmake cmake ..
|
|
||||||
# $ emmake make
|
|
||||||
# $ emmake make install
|
|
||||||
# $
|
|
||||||
# $ # libpng:
|
|
||||||
# $ cd your/favorite/persistent/build/directory
|
|
||||||
# $ wget https://sourceforge.net/projects/libpng/files/libpng16/1.6.39/libpng-1.6.39.tar.xz/download -O libpng-1.6.39.tar.xz
|
|
||||||
# $ tar -xf libpng-1.6.39.tar.xz
|
|
||||||
# $ cd libpng-1.6.39
|
|
||||||
# $ mkdir build && cd build
|
|
||||||
# $ emcmake cmake ..
|
|
||||||
# $ emmake make
|
|
||||||
# $ emmake make install
|
|
||||||
|
|
||||||
|
|
||||||
# array of build types supported by this formula
|
# array of build types supported by this formula
|
||||||
# you can delete this to implicitly support *all* types
|
# you can delete this to implicitly support *all* types
|
||||||
|
@ -134,6 +100,9 @@ function prepare() {
|
||||||
|
|
||||||
PREV_DIR="$(pwd)"
|
PREV_DIR="$(pwd)"
|
||||||
|
|
||||||
|
# NOTE: currently, these are being build and installed in the emscripten sdk directory
|
||||||
|
# however, it would be better to put the sources in the ofxMsdfgen/libs directory
|
||||||
|
# and build them from there
|
||||||
if [ "$TYPE" == "emscripten" ] ; then
|
if [ "$TYPE" == "emscripten" ] ; then
|
||||||
echo "preparing $TYPE thirdparty dependencies"
|
echo "preparing $TYPE thirdparty dependencies"
|
||||||
if decision "download, build and install all thirdparty dependencies" $PROBABLY_YES; then
|
if decision "download, build and install all thirdparty dependencies" $PROBABLY_YES; then
|
||||||
|
|
Loading…
Reference in a new issue