2021-06-19 17:58:49 +02:00
|
|
|
#!/usr/bin/env python
|
2024-06-11 22:19:07 +02:00
|
|
|
from misc.utility.scons_hints import *
|
2021-06-19 17:58:49 +02:00
|
|
|
|
|
|
|
Import("env")
|
|
|
|
|
2022-10-12 16:21:34 +02:00
|
|
|
import make_interface_dumper
|
2024-05-21 15:14:59 +02:00
|
|
|
import make_wrappers
|
2022-03-26 16:48:43 +01:00
|
|
|
|
2024-03-10 20:01:23 +01:00
|
|
|
env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", env.Run(make_wrappers.run))
|
2022-10-12 16:21:34 +02:00
|
|
|
env.CommandNoCache(
|
2022-12-07 12:11:28 +01:00
|
|
|
"gdextension_interface_dump.gen.h",
|
|
|
|
["gdextension_interface.h", "make_interface_dumper.py"],
|
2024-03-10 20:01:23 +01:00
|
|
|
env.Run(make_interface_dumper.run),
|
2022-10-12 16:21:34 +02:00
|
|
|
)
|
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")
|