summaryrefslogtreecommitdiff
path: root/core/extension/SCsub
blob: 361ce43a2c6b3cc49ed12c83e7a0d79ee3565194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python

Import("env")

import make_wrappers
import make_interface_dumper
from platform_methods import run_in_subprocess

env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", run_in_subprocess(make_wrappers.run))
env.CommandNoCache(
    "gdextension_interface_dump.gen.h",
    ["gdextension_interface.h", "make_interface_dumper.py"],
    run_in_subprocess(make_interface_dumper.run),
)

env_extension = env.Clone()

env_extension.add_source_files(env.core_sources, "*.cpp")