2018-04-28 00:52:15 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2020-03-30 06:28:32 +00:00
|
|
|
Import("env")
|
|
|
|
Import("env_modules")
|
2018-04-28 00:52:15 +00:00
|
|
|
|
2022-03-28 12:10:28 +00:00
|
|
|
# Godot's own source files
|
2018-04-28 00:52:15 +00:00
|
|
|
env_csg = env_modules.Clone()
|
|
|
|
|
|
|
|
# Godot's own source files
|
|
|
|
env_csg.add_source_files(env.modules_sources, "*.cpp")
|
2022-03-28 12:10:28 +00:00
|
|
|
if env["tools"]:
|
|
|
|
env_csg.add_source_files(env.modules_sources, "editor/*.cpp")
|