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

Function has_binary

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

Source from the content-addressed store, hash-verified

171
172
173def has_binary(cppcheck_path):
174 cppcheck_bin = __get_cppcheck_binary(cppcheck_path)
175 if __make_cmd == "msbuild.exe":
176 if os.path.isfile(cppcheck_bin):
177 return True
178 elif __make_cmd == 'mingw32-make':
179 if os.path.isfile(cppcheck_bin):
180 return True
181 elif os.path.isfile(cppcheck_bin):
182 return True
183 return False
184
185
186def compile_version(cppcheck_path):

Callers 1

compile_versionFunction · 0.85

Calls 1

__get_cppcheck_binaryFunction · 0.85

Tested by

no test coverage detected