0.2.0-dev Download ZIP
26 lines ·591 B Raw
| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | |
| 6 | env.scene_sources = [] |
| 7 | |
| 8 | # Godot source files |
| 9 | env.add_source_files(env.scene_sources, "*.cpp") |
| 10 | |
| 11 | # Chain load SCsubs |
| 12 | SConscript("main/SCsub") |
| 13 | SConscript("gui/SCsub") |
| 14 | if not env["disable_2d"]: |
| 15 | SConscript("2d/SCsub") |
| 16 | if not env["disable_3d"]: |
| 17 | SConscript("3d/SCsub") |
| 18 | SConscript("animation/SCsub") |
| 19 | SConscript("audio/SCsub") |
| 20 | SConscript("resources/SCsub") |
| 21 | SConscript("debugger/SCsub") |
| 22 | SConscript("theme/SCsub") |
| 23 | |
| 24 | # Build it all as a library |
| 25 | lib = env.add_library("scene", env.scene_sources) |
| 26 | env.Prepend(LIBS=[lib]) |