MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / __get_cppcheck_binary

Function __get_cppcheck_binary

tools/donate_cpu_lib.py:165–170  ·  view source on GitHub ↗
(cppcheck_path)

Source from the content-addressed store, hash-verified

163
164
165def __get_cppcheck_binary(cppcheck_path):
166 if __make_cmd == "msbuild.exe":
167 return os.path.join(cppcheck_path, 'bin', 'cppcheck.exe')
168 if __make_cmd == 'mingw32-make':
169 return os.path.join(cppcheck_path, 'cppcheck.exe')
170 return os.path.join(cppcheck_path, 'cppcheck')
171
172
173def has_binary(cppcheck_path):

Callers 2

has_binaryFunction · 0.85
compile_cppcheckFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected