import os Import('env') module_env = env.Clone() sources = [ "register_types.cpp", "algos/mm_algos.cpp", "algos/mm_algos_bind.cpp", "nodes/mm_material.cpp", "nodes/mm_node_universal_property.cpp", "nodes/mm_node.cpp", "nodes/bases/curve_base.cpp", "nodes/bases/gradient_base.cpp", "nodes/bases/polygon_base.cpp", "editor/mat_maker_gd_editor.cpp", "editor/mm_create_name_popup.cpp", "editor/mm_graph_node.cpp", "editor/widgets/color_picker_popup/color_picker_popup.cpp", "editor/widgets/curve_edit/control_point.cpp", "editor/widgets/curve_edit/curve_dialog.cpp", "editor/widgets/curve_edit/curve_edit.cpp", "editor/widgets/curve_edit/curve_editor.cpp", "editor/widgets/curve_edit/curve_view.cpp", "editor/widgets/curve_edit/slope_point.cpp", "editor/widgets/file_dialog/left_panel.cpp", "editor/widgets/file_dialog/mat_maker_file_dialog.cpp", #"editor/widgets/float_edit/float_edit.cpp", "editor/widgets/gradient_editor/gradient_cursor.cpp", "editor/widgets/gradient_editor/gradient_editor.cpp", "editor/widgets/gradient_editor/gradient_popup.cpp", "editor/widgets/image_picker_button/image_picker_button.cpp", "editor/widgets/mm_dnd_color_picker_button/mm_dnd_color_picker_button.cpp", "editor/widgets/polygon_edit/polygon_control_point.cpp", "editor/widgets/polygon_edit/polygon_dialog.cpp", "editor/widgets/polygon_edit/polygon_edit.cpp", "editor/widgets/polygon_edit/polygon_editor.cpp", "editor/widgets/polygon_edit/polygon_view.cpp", "nodes/uniform/uniform.cpp", "nodes/uniform/greyscale_uniform.cpp", "nodes/transform/translate.cpp", "nodes/transform/transform.cpp", "nodes/transform/tiler.cpp", "nodes/transform/shear.cpp", "nodes/transform/scale.cpp", "nodes/transform/rotate.cpp", "nodes/transform/repeat.cpp", "nodes/transform/mirror.cpp", "nodes/transform/kaleidoscope.cpp", "nodes/transform/color_tiler.cpp", "nodes/transform/circle_map.cpp", "nodes/simple/shape.cpp", ] if env["tools"]: sources.append("editor_plugin.cpp") module_env.add_source_files(env.modules_sources, sources)