From 994afd5a8b9b09b69f6f39812c8e4102f81bdb0a Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 12 Sep 2024 18:31:50 +0200 Subject: [PATCH] Added gen_copy_headers.sh from the sample froject. --- gen_copy_headers.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 gen_copy_headers.sh diff --git a/gen_copy_headers.sh b/gen_copy_headers.sh new file mode 100755 index 0000000..b059c45 --- /dev/null +++ b/gen_copy_headers.sh @@ -0,0 +1,11 @@ + +./pandemonium_engine/bin/pandemonium.x11.opt.tools.64 --gdnative-generate-json-api ./pandemonium_engine/modules/gdnative/api.json + +cd gdnative_python/pandemonium_headers/ +rm -Rf * + +cp -R ../../pandemonium_engine/modules/gdnative/include/* . +cp ../../pandemonium_engine/modules/gdnative/api.json . +cp ../../pandemonium_engine/modules/gdnative/gdnative_api.json . + +cd ../..