gdnative_python/examples/SConscript

11 lines
327 B
Python

Import("env")
for test in ["pong", "pong_multiplayer"]:
dist_symlink = env.Symlink(f"{test}/addons", "$DIST_ROOT/addons")
target = env.Command(
test, ["$pandemonium_binary", dist_symlink], "${SOURCE.abspath} ${pandemonium_args} --path ${TARGET}"
)
env.AlwaysBuild(target)
env.Alias("example", "pong")