Skip to content
0.2.0-dev Download ZIP
22 lines ·449 B Raw
1#!/usr/bin/env python
2from misc.utility.scons_hints import *
3
4Import("env")
5
6# Thirdparty code
7
8thirdparty_obj = []
9
10env_thirdparty = env.Clone()
11env_thirdparty.disable_warnings()
12env.scene_sources += thirdparty_obj
13
14# Godot source files
15
16scene_obj = []
17
18env.add_source_files(scene_obj, "*.cpp")
19env.scene_sources += scene_obj
20
21# Needed to force rebuilding the scene files when the thirdparty code is updated.
22env.Depends(scene_obj, thirdparty_obj)