Skip to content

Commit

Permalink
tmp cppcheck--
Browse files Browse the repository at this point in the history
  • Loading branch information
poire-z committed Jul 3, 2020
1 parent 6347227 commit 98aec19
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,6 @@ changed_files="$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep -E '\.([CcHh

if [ -n "${changed_files}" ]; then
echo "Running cppcheck on ${changed_files}"
# Set some configuration/define to speed up cppcheck by limiting
# the combinations of configurations it will check.
# We force the values set with add_definition() in kpvcrlib/CMakeLists.txt
# and some from crengine/include/crsetup.h.
# shellcheck disable=SC2086
cppcheck -j 4 --error-exitcode=2 \
-DUSE_FONTCONFIG=0 \
-DUSE_FREETYPE=1 \
-DUSE_HARFBUZZ=1 \
-DUSE_FRIBIDI=1 \
-DUSE_LIBUNIBREAK=1 \
-DUSE_UTF8PROC=1 \
-DUSE_NANOSVG=1 \
-DALLOW_KERNING=1 \
-DCR3_PATCH=1 \
-DLINUX=1 \
-D_LINUX=1 \
-DCR_RENDER_32BPP_RGB_PXFMT \
-DCR_EMULATE_GETTEXT \
-DBUILD_LITE=0 \
-DLBOOK=0 \
-UANDROID \
-UCR_POCKETBOOK \
${changed_files}

# ignore header files in clang-tidy for now
# @TODO rename to *.hpp (or *.hxx)?
Expand Down

0 comments on commit 98aec19

Please sign in to comment.