summaryrefslogtreecommitdiff
path: root/scene/animation/SCsub
blob: d0aa0bc8aa654ebadbb278b47a7155c9c76590b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python

Import("env")

# Thirdparty code

thirdparty_obj = []

env_thirdparty = env.Clone()
env_thirdparty.disable_warnings()
env.scene_sources += thirdparty_obj

# Godot source files

scene_obj = []

env.add_source_files(scene_obj, "*.cpp")
env.scene_sources += scene_obj

# Needed to force rebuilding the scene files when the thirdparty code is updated.
env.Depends(scene_obj, thirdparty_obj)