From 06f3b35255553500bb66ca60c9e4396ae143ac5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= Date: Tue, 31 Oct 2017 11:59:47 +0100 Subject: [PATCH] refactoring: moved BOARD_COMMIT, PCB_GENERAL_SETTINGS and TransformShapeWithClearanceToPolygon() to libpcbcommon --- common/CMakeLists.txt | 3 +++ pcbnew/CMakeLists.txt | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 37777b143c..8ee2036a4b 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -365,6 +365,8 @@ set( PCB_COMMON_SRCS class_page_info.cpp lset.cpp ../pcbnew/basepcbframe.cpp + ../pcbnew/board_items_to_polygon_shape_transform.cpp + ../pcbnew/board_commit.cpp ../pcbnew/class_board.cpp ../pcbnew/class_board_connected_item.cpp ../pcbnew/class_board_design_settings.cpp @@ -393,6 +395,7 @@ set( PCB_COMMON_SRCS ../pcbnew/convert_drawsegment_list_to_polygon.cpp ../pcbnew/ratsnest_data.cpp ../pcbnew/ratsnest_viewitem.cpp + ../pcbnew/pcb_general_settings.cpp ../pcbnew/collectors.cpp ../pcbnew/netlist_reader.cpp ../pcbnew/legacy_netlist_reader.cpp diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index f9cf76ae25..34d3477f98 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -194,7 +194,6 @@ set( PCBNEW_MICROWAVE_SRCS set( PCBNEW_CLASS_SRCS autorouter/rect_placement/rect_placement.cpp autorouter/spread_footprints.cpp - board_commit.cpp tool_modview.cpp modview_frame.cpp pcbframe.cpp @@ -202,7 +201,6 @@ set( PCBNEW_CLASS_SRCS append_board_to_current.cpp array_creator.cpp attribut.cpp - board_items_to_polygon_shape_transform.cpp board_netlist_updater.cpp block.cpp block_module_editor.cpp @@ -263,7 +261,6 @@ set( PCBNEW_CLASS_SRCS pcbnew_config.cpp pcbplot.cpp pcb_draw_panel_gal.cpp - pcb_general_settings.cpp pcb_view.cpp plot_board_layers.cpp plot_brditems_plotter.cpp @@ -316,7 +313,6 @@ set( PCBNEW_CLASS_SRCS tools/zone_create_helper.cpp tools/tools_common.cpp tools/tool_event_utils.cpp - tools/size_menu.cpp footprint_preview_panel.cpp