2016-10-17 08:50:25 +02:00
|
|
|
#!/usr/bin/env python
|
2024-06-11 22:19:07 +02:00
|
|
|
from misc.utility.scons_hints import *
|
2016-10-17 08:50:25 +02:00
|
|
|
|
2020-03-30 08:28:32 +02:00
|
|
|
Import("env")
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2020-12-17 16:01:36 +01:00
|
|
|
# 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)
|