summaryrefslogtreecommitdiffstats
path: root/core/extension/SCsub
blob: 8688ca5b6e7c7c6288f95b8b223b741b04e5b525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")

import make_interface_dumper
import make_wrappers

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

env_extension = env.Clone()

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