mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-23 17:21:18 +00:00
Some checks are pending
* Unify renderers into one build, no more segregation * Fix Linux compilation error * How does one miss this * Rename this * Fix silly naming error that I missed * Update Russian translation
13 lines
532 B
Bash
Executable file
13 lines
532 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ $# -eq 0 ]; then
|
|
EXTRA=""
|
|
else
|
|
EXTRA="--enable=all --suppress=constStatement --suppress=duplicateCondition --suppress=redundantAssignment --suppress=variableScope --suppress=unusedVariable --suppress=unreadVariable --suppress=shadowVariable"
|
|
fi
|
|
|
|
INCLUDES="-Iinclude -Isrc -I. -Ilib/lua/include"
|
|
DEFINES="-DVERSION_US -D_LANGUAGE_C -DNIGHTLY -DNON_MATCHING -DAVOID_UB -DF3DEX_GBI_2E -DDISCORD_SDK"
|
|
PARAMS="--language=c --quiet --platform=unix64 -v src -j8"
|
|
|
|
cppcheck -DLLONG_MAX $INCLUDES $DEFINES $EXTRA $PARAMS
|