awtk/staticcheck/cppcheck/run.py
2019-04-14 19:14:16 +08:00

9 lines
230 B
Python

import os
import sys
sys.path.append("../common")
import awtk_files as awtk;
CPPFLAGS = '-DHAS_STD_MALLOC -DNDEBUG --enable=warning --enable=performance -DWITH_CPPCHECK '
awtk.run('cppcheck', CPPFLAGS, awtk.getCppCheckFiles())