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