2021-06-19 17:58:49 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
2022-03-26 16:48:43 +01:00
|
|
|
import make_wrappers
|
2022-10-12 16:21:34 +02:00
|
|
|
import make_interface_dumper
|
2022-03-26 16:48:43 +01:00
|
|
|
from platform_methods import run_in_subprocess
|
|
|
|
|
|
|
|
env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", run_in_subprocess(make_wrappers.run))
|
2022-10-12 16:21:34 +02:00
|
|
|
env.CommandNoCache(
|
|
|
|
"gdnative_interface_dump.gen.h",
|
|
|
|
["gdnative_interface.h", "make_interface_dumper.py"],
|
|
|
|
run_in_subprocess(make_interface_dumper.run),
|
|
|
|
)
|
2022-03-26 16:48:43 +01:00
|
|
|
|
2021-06-19 17:58:49 +02:00
|
|
|
env_extension = env.Clone()
|
|
|
|
|
|
|
|
env_extension.add_source_files(env.core_sources, "*.cpp")
|