2021-06-19 23:58:49 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
2022-10-12 22:21:34 +08:00
|
|
|
import make_interface_dumper
|
2024-05-21 21:14:59 +08:00
|
|
|
import make_wrappers
|
2022-03-26 23:48:43 +08:00
|
|
|
|
2024-03-11 03:01:23 +08:00
|
|
|
env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", env.Run(make_wrappers.run))
|
2022-10-12 22:21:34 +08:00
|
|
|
env.CommandNoCache(
|
2022-12-07 19:11:28 +08:00
|
|
|
"gdextension_interface_dump.gen.h",
|
|
|
|
["gdextension_interface.h", "make_interface_dumper.py"],
|
2024-03-11 03:01:23 +08:00
|
|
|
env.Run(make_interface_dumper.run),
|
2022-10-12 22:21:34 +08:00
|
|
|
)
|
2022-03-26 23:48:43 +08:00
|
|
|
|
2021-06-19 23:58:49 +08:00
|
|
|
env_extension = env.Clone()
|
|
|
|
|
|
|
|
env_extension.add_source_files(env.core_sources, "*.cpp")
|