import os Import('env') module_env = env.Clone() module_env.add_source_files(env.modules_sources,"register_types.cpp") module_env.add_source_files(env.modules_sources,"actions/paint_action.cpp") module_env.add_source_files(env.modules_sources,"actions/brighten_action.cpp") module_env.add_source_files(env.modules_sources,"actions/brush_action.cpp") module_env.add_source_files(env.modules_sources,"actions/bucket_action.cpp") module_env.add_source_files(env.modules_sources,"actions/cut_action.cpp") module_env.add_source_files(env.modules_sources,"actions/darken_action.cpp") module_env.add_source_files(env.modules_sources,"actions/line_action.cpp") module_env.add_source_files(env.modules_sources,"actions/multiline_action.cpp") module_env.add_source_files(env.modules_sources,"actions/paste_cut_action.cpp") module_env.add_source_files(env.modules_sources,"actions/pencil_action.cpp") module_env.add_source_files(env.modules_sources,"actions/rainbow_action.cpp") module_env.add_source_files(env.modules_sources,"actions/rect_action.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_canvas_background.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_visual_grid.cpp") module_env.add_source_files(env.modules_sources,"ui/property_inspectors/paint_custom_property_inspector.cpp") module_env.add_source_files(env.modules_sources,"ui/property_inspectors/paint_tools_property_inspector.cpp") module_env.add_source_files(env.modules_sources,"ui/property_inspectors/paint_project_property_inspector.cpp") module_env.add_source_files(env.modules_sources,"ui/property_inspectors/paint_project_tools_property_inspector.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_sidebar.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_sidebar_module.cpp") module_env.add_source_files(env.modules_sources,"paint_utilities.cpp") module_env.add_source_files(env.modules_sources,"bush_prefabs.cpp") module_env.add_source_files(env.modules_sources,"nodes/paint_node.cpp") module_env.add_source_files(env.modules_sources,"nodes/paint_canvas.cpp") module_env.add_source_files(env.modules_sources,"nodes/paint_project.cpp") if 'TOOLS_ENABLED' in env["CPPDEFINES"]: module_env.add_source_files(env.modules_sources,"editor/paint_editor_plugin.cpp") module_env.add_source_files(env.modules_sources,"editor/paint_inspector_plugin.cpp")