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,"deprecated/dialogs/paint_canvas_dialog.cpp") module_env.add_source_files(env.modules_sources,"deprecated/dialogs/paint_change_grid_size_dialog.cpp") module_env.add_source_files(env.modules_sources,"deprecated/dialogs/paint_load_file_dialog.cpp") module_env.add_source_files(env.modules_sources,"deprecated/dialogs/paint_save_file_dialog.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_canvas_outline.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_canvas_background.cpp") module_env.add_source_files(env.modules_sources,"ui/paint_selection_box.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_color_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/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") module_env.add_source_files(env.modules_sources,"deprecated/paint_canvas_layer.cpp") module_env.add_source_files(env.modules_sources,"deprecated/paint_canvas.cpp") module_env.add_source_files(env.modules_sources,"deprecated/paint_layer_button.cpp") module_env.add_source_files(env.modules_sources,"deprecated/paint_window.cpp") module_env.add_source_files(env.modules_sources,"deprecated/paint_navbar.cpp") module_env.add_source_files(env.modules_sources,"deprecated/paint_settings.cpp") if 'TOOLS_ENABLED' in env["CPPDEFINES"]: module_env.add_source_files(env.modules_sources,"paint_editor_plugin.cpp") module_env.add_source_files(env.modules_sources,"paint_editor_plugin_old.cpp")