def METHOD_NAME (srcBaseDir, dstFile):
	fullDstFile	= os.path.realpath(dstFile)
	command		= '"C:\\Program Files (x86)\\Cppcheck\\cppcheck.exe"'
	for arg in ARGS + ["--xml"]:
		command += " %s" % arg
	for path in INCLUDE_DIRS:
		command += " -I %s" % path
	for path in SRC_DIRS:
		command += " %s" % path
	command += ' 2> "%s"' % fullDstFile
	os.chdir(srcBaseDir)
	os.system('"%s"' % command) # Double-quotes needed for some reason