| 1 | #!/usr/bin/env python |
| 2 | from misc.utility.scons_hints import * |
| 3 | |
| 4 | Import("env") |
| 5 | Import("env_modules") |
| 6 | |
| 7 | env_gridmap = env_modules.Clone() |
| 8 | |
| 9 | # Godot source files |
| 10 | env_gridmap.add_source_files(env.modules_sources, "*.cpp") |
| 11 | if env.editor_build: |
| 12 | env_gridmap.add_source_files(env.modules_sources, "editor/*.cpp") |