tahoma2d/ci-scripts/osx/travis-build.sh

15 lines
467 B
Bash
Raw Normal View History

2016-07-01 23:23:32 +12:00
#!/bin/bash
pushd toonz/sources
clang-format --version
git ls-files | egrep \\.\(c\|cpp\|h\|hpp\)$ | xargs clang-format -i && git diff --exit-code || exit 1
popd
2016-07-01 23:23:32 +12:00
pushd thirdparty/tiff-4.0.3
./configure && make
popd
cd toonz && mkdir build && cd build
cmake ../sources \
2016-12-13 21:48:22 +13:00
-DQT_PATH=/usr/local/Cellar/qt@5.5/5.5.1/lib/ \
2016-07-01 23:23:32 +12:00
-DTIFF_INCLUDE_DIR=../../thirdparty/tiff-4.0.3/libtiff/ \
-DSUPERLU_INCLUDE_DIR=../../thirdparty/superlu/SuperLU_4.1/include/
make