diff options
Diffstat (limited to 'win32/build/confutils.js')
| -rw-r--r-- | win32/build/confutils.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 841fa293df..89995171b7 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1637,6 +1637,11 @@ function ADD_SOURCES(dir, file_list, target, obj_dir) /* "--rule-file=win32\build\cppcheck_rules.xml " + */ " --std=c89 --std=c++11 " + "--quiet --inconclusive --template=vs "; + + var cppcheck_build_dir = get_define("CPPCHECK_BUILD_DIR"); + if (!!cppcheck_build_dir) { + analyzer_base_args += "--cppcheck-build-dir=$(CPPCHECK_BUILD_DIR)"; + } } if (PHP_MP_DISABLED) { |
