Added gen_copy_headers.sh from the sample froject.

This commit is contained in:
Relintai 2024-09-12 18:31:50 +02:00
parent 2aef8b8e26
commit 994afd5a8b

11
gen_copy_headers.sh Executable file
View File

@ -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 ../..