#!/usr/bin/env python Import("env") Import("env_modules") env_gridmap = env_modules.Clone() env_gridmap.add_source_files(env.modules_sources, "grid_map.cpp") env_gridmap.add_source_files(env.modules_sources, "mesh_library.cpp") env_gridmap.add_source_files(env.modules_sources, "register_types.cpp") if env["tools"]: env_gridmap.add_source_files(env.modules_sources, "grid_map_editor_plugin.cpp") env_gridmap.add_source_files(env.modules_sources, "mesh_library_editor_plugin.cpp")