44
46
#have to handle out-of-tree building, that's why the '#' :(
45
48
defs = Script.File('#src/defs_version.h')
48
52
if line.strip().startswith("#define VERSION"):
52
63
raise ValueError("Version not found")
54
65
version = version.split()[-1].replace('"', '')