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