mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 05:25:04 +08:00
[tools] Add --cdb to make compile_commands.json.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user