SCons: Fix generation of `disabled_classes.gen.h` after #91624
This commit is contained in:
parent
4219af202d
commit
973d3a472d
|
@ -166,7 +166,7 @@ def disabled_class_builder(target, source, env):
|
||||||
for c in source[0].read():
|
for c in source[0].read():
|
||||||
cs = c.strip()
|
cs = c.strip()
|
||||||
if cs != "":
|
if cs != "":
|
||||||
file.write(f"#define ClassDB_Disable_{cs} 1")
|
file.write(f"#define ClassDB_Disable_{cs} 1\n")
|
||||||
|
|
||||||
|
|
||||||
env.CommandNoCache("disabled_classes.gen.h", env.Value(env.disabled_classes), env.Run(disabled_class_builder))
|
env.CommandNoCache("disabled_classes.gen.h", env.Value(env.disabled_classes), env.Run(disabled_class_builder))
|
||||||
|
|
Loading…
Reference in New Issue