14 lines
393 B
Python
14 lines
393 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_gltf = env_modules.Clone()
|
|
|
|
# Godot's own source files
|
|
env_gltf.add_source_files(env.modules_sources, "*.cpp")
|
|
env_gltf.add_source_files(env.modules_sources, "extensions/*.cpp")
|
|
env_gltf.add_source_files(env.modules_sources, "structures/*.cpp")
|
|
if env["tools"]:
|
|
env_gltf.add_source_files(env.modules_sources, "editor/*.cpp")
|