2022-04-15 00:00:46 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
module_env = env.Clone()
|
|
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources,"register_types.cpp")
|
|
|
|
|
2022-04-16 01:25:02 +02:00
|
|
|
module_env.add_source_files(env.modules_sources,"actions/paint_action.cpp")
|
2022-04-16 02:54:22 +02:00
|
|
|
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")
|
|
|
|
|
2022-11-14 17:31:45 +01:00
|
|
|
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")
|
2022-04-16 02:54:22 +02:00
|
|
|
|
2022-11-14 17:31:45 +01:00
|
|
|
module_env.add_source_files(env.modules_sources,"ui/paint_canvas_outline.cpp")
|
|
|
|
module_env.add_source_files(env.modules_sources,"ui/paint_color_grid.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")
|
2022-04-16 01:25:02 +02:00
|
|
|
|
2022-04-16 02:54:22 +02:00
|
|
|
module_env.add_source_files(env.modules_sources,"paint_utilities.cpp")
|
2022-11-14 17:31:45 +01:00
|
|
|
module_env.add_source_files(env.modules_sources,"bush_prefabs.cpp")
|
2022-04-16 01:25:02 +02:00
|
|
|
|
2022-11-14 23:27:26 +01:00
|
|
|
module_env.add_source_files(env.modules_sources,"nodes/paint_node.cpp")
|
2022-11-15 12:34:29 +01:00
|
|
|
module_env.add_source_files(env.modules_sources,"nodes/paint_canvas.cpp")
|
2022-11-14 23:27:26 +01:00
|
|
|
|
2022-11-14 17:31:45 +01:00
|
|
|
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")
|
2022-04-15 00:00:46 +02:00
|
|
|
|
2022-04-16 02:54:22 +02:00
|
|
|
if 'TOOLS_ENABLED' in env["CPPDEFINES"]:
|
|
|
|
module_env.add_source_files(env.modules_sources,"paint_editor_plugin.cpp")
|