0.2.0-dev Download ZIP
17 lines ·397 B Raw
| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | Import("env_modules") |
| 6 | |
| 7 | env_gltf = env_modules.Clone() |
| 8 | |
| 9 | # Godot source files |
| 10 | |
| 11 | env_gltf.add_source_files(env.modules_sources, "*.cpp") |
| 12 | env_gltf.add_source_files(env.modules_sources, "structures/*.cpp") |
| 13 | |
| 14 | SConscript("extensions/SCsub") |
| 15 | |
| 16 | if env.editor_build: |
| 17 | env_gltf.add_source_files(env.modules_sources, "editor/*.cpp") |