From 058f98a63658dc1a2579826ba167fd61bed1e21f Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 4 Mar 2022 10:47:15 -0600 Subject: add assimp submodule --- src/mesh/assimp-master/contrib/zip/.travis.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 src/mesh/assimp-master/contrib/zip/.travis.sh (limited to 'src/mesh/assimp-master/contrib/zip/.travis.sh') diff --git a/src/mesh/assimp-master/contrib/zip/.travis.sh b/src/mesh/assimp-master/contrib/zip/.travis.sh new file mode 100755 index 0000000..9cb03ee --- /dev/null +++ b/src/mesh/assimp-master/contrib/zip/.travis.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# +# Build script for travis-ci.org builds. +# +if [ $ANALYZE = "true" ] && [ "$CC" = "clang" ]; then + # scan-build -h + scan-build cmake -G "Unix Makefiles" + scan-build -enable-checker security.FloatLoopCounter \ + -enable-checker security.insecureAPI.UncheckedReturn \ + --status-bugs -v \ + make -j 8 \ + make -j 8 test +else + cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZE_ADDRESS=On -DCMAKE_INSTALL_PREFIX=_install + make -j 8 + make install + ASAN_OPTIONS=detect_leaks=0 LSAN_OPTIONS=verbosity=1:log_threads=1 ctest -V +fi -- cgit v1.2.1