[tools] Add --cdb to make compile_commands.json.

This commit is contained in:
bernard
2024-05-03 16:04:55 +08:00
committed by Meco Man
parent b632dc1aaf
commit c4e7a0e5e3
4 changed files with 25 additions and 2 deletions

View File

@@ -303,3 +303,9 @@ def ImportModule(module):
return module
else:
return __import__(module, fromlist=[module])
def VerTuple(version_str):
ver_parts = version_str.split('.')
ver = tuple(int(part) for part in ver_parts)
return ver