Browse Source

More build time optimizations.

fusion360
Alex Shvartzkop 1 year ago
parent
commit
5475359d00
  1. 1
      common/dialogs/git/panel_git_repos.cpp
  2. 1
      common/tool/conditional_menu.cpp
  3. 7
      eeschema/netlist_exporters/netlist_exporter_base.h
  4. 2
      eeschema/netlist_exporters/netlist_exporter_spice_model.h
  5. 1
      eeschema/sch_base_frame.cpp
  6. 16
      eeschema/sch_base_frame.h
  7. 1
      eeschema/sch_commit.cpp
  8. 3
      eeschema/sch_io/altium/sch_io_altium.cpp
  9. 1
      eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp
  10. 6
      eeschema/sch_label.h
  11. 1
      eeschema/sch_screen.cpp
  12. 3
      eeschema/sch_screen.h
  13. 1
      eeschema/schematic_undo_redo.cpp
  14. 3
      eeschema/sim/simulator_frame_ui.cpp
  15. 1
      eeschema/symbol_editor/symbol_edit_frame.cpp
  16. 1
      eeschema/symbol_viewer_frame.cpp
  17. 1
      eeschema/tools/sch_editor_control.cpp
  18. 1
      eeschema/widgets/panel_symbol_chooser.cpp
  19. 2
      include/font/glyph.h
  20. 16
      include/pcb_base_frame.h
  21. 2
      include/pgm_base.h
  22. 3
      include/tool/selection_conditions.h
  23. 4
      include/view/view_overlay.h
  24. 1
      kicad/cli/command_pcb_export_3d.cpp
  25. 1
      kicad/cli/command_sch_export_bom.cpp
  26. 1
      pcbnew/dialogs/dialog_drc.cpp
  27. 1
      pcbnew/exporters/export_hyperlynx.cpp
  28. 1
      pcbnew/pcb_base_frame.cpp
  29. 1
      pcbnew/python/scripting/pcbnew_action_plugins.cpp
  30. 1
      pcbnew/tools/pcb_grid_helper.h
  31. 1
      pcbnew/widgets/panel_footprint_chooser.cpp

1
common/dialogs/git/panel_git_repos.cpp

@ -31,6 +31,7 @@
#include <wx/bmpbuttn.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/log.h>
PANEL_GIT_REPOS::PANEL_GIT_REPOS( wxWindow* aParent ) : PANEL_GIT_REPOS_BASE( aParent)

1
common/tool/conditional_menu.cpp

@ -26,6 +26,7 @@
#include <bitmaps.h>
#include <tool/conditional_menu.h>
#include <tool/action_menu.h>
#include <tool/selection.h>
#include <kiface_base.h>
#include <widgets/ui_common.h>

7
eeschema/netlist_exporters/netlist_exporter_base.h

@ -26,11 +26,12 @@
#ifndef NETLIST_EXPORTER_H
#define NETLIST_EXPORTER_H
#include <sch_symbol.h>
#include <sch_label.h>
#include <sch_sheet.h>
#include <schematic.h>
class SCH_SYMBOL;
class LIB_SYMBOL;
class REPORTER;
/**
* Track unique wxStrings and is useful in telling if a string has been seen before.
*/

2
eeschema/netlist_exporters/netlist_exporter_spice_model.h

@ -26,6 +26,8 @@
#include "netlist_exporter_spice.h"
enum LABEL_FLAG_SHAPE : unsigned int;
class NETLIST_EXPORTER_SPICE_MODEL : public NETLIST_EXPORTER_SPICE
{

1
eeschema/sch_base_frame.cpp

@ -49,6 +49,7 @@
#include <tools/ee_selection_tool.h>
#include <view/view_controls.h>
#include <wx/choicdlg.h>
#include <wx/fswatcher.h>
#include <wx/log.h>
#include <wx/msgdlg.h>

16
eeschema/sch_base_frame.h

@ -35,7 +35,6 @@
#include <utility>
#include <vector>
#include <wx/event.h>
#include <wx/fswatcher.h>
#include <wx/datetime.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
@ -59,6 +58,21 @@ class SYMBOL_EDITOR_SETTINGS;
class NL_SCHEMATIC_PLUGIN;
class PANEL_SCH_SELECTION_FILTER;
#ifdef wxHAS_INOTIFY
#define wxFileSystemWatcher wxInotifyFileSystemWatcher
#elif defined( wxHAS_KQUEUE ) && defined( wxHAVE_FSEVENTS_FILE_NOTIFICATIONS )
#define wxFileSystemWatcher wxFsEventsFileSystemWatcher
#elif defined( wxHAS_KQUEUE )
#define wxFileSystemWatcher wxKqueueFileSystemWatcher
#elif defined( __WINDOWS__ )
#define wxFileSystemWatcher wxMSWFileSystemWatcher
#else
#define wxFileSystemWatcher wxPollingFileSystemWatcher
#endif
class wxFileSystemWatcher;
class wxFileSystemWatcherEvent;
/**
* Load symbol from symbol library table.
*

1
eeschema/sch_commit.cpp

@ -35,6 +35,7 @@
#include <connection_graph.h>
#include <functional>
#include <wx/log.h>
SCH_COMMIT::SCH_COMMIT( TOOL_MANAGER* aToolMgr ) :

3
eeschema/sch_io/altium/sch_io_altium.cpp

@ -57,8 +57,9 @@
#include <string_utils.h>
#include <sch_edit_frame.h>
#include <wildcards_and_files_ext.h>
#include <wx/mstream.h>
#include <wx/log.h>
#include <wx/dir.h>
#include <wx/mstream.h>
#include <wx/zstream.h>
#include <wx/wfstream.h>
#include <magic_enum.hpp>

1
eeschema/sch_io/easyedapro/sch_easyedapro_parser.cpp

@ -40,6 +40,7 @@
#include <string_utils.h>
#include <bezier_curves.h>
#include <wx/base64.h>
#include <wx/log.h>
#include <wx/url.h>
#include <wx/mstream.h>
#include <gfx_import_utils.h>

6
eeschema/sch_label.h

@ -89,7 +89,7 @@ private:
/*
* Label and flag shapes used with text objects.
*/
enum LABEL_FLAG_SHAPE
enum LABEL_FLAG_SHAPE : unsigned int
{
L_INPUT,
L_OUTPUT,
@ -107,7 +107,7 @@ enum LABEL_FLAG_SHAPE
/*
* Specific enums for property manager (not used elsewhere)
*/
enum LABEL_SHAPE
enum LABEL_SHAPE : unsigned int
{
LABEL_INPUT = L_INPUT,
LABEL_OUTPUT = L_OUTPUT,
@ -116,7 +116,7 @@ enum LABEL_SHAPE
LABEL_PASSIVE = L_UNSPECIFIED
};
enum FLAG_SHAPE
enum FLAG_SHAPE : unsigned int
{
FLAG_DOT = F_DOT,
FLAG_CIRCLE = F_ROUND,

1
eeschema/sch_screen.cpp

@ -26,6 +26,7 @@
#include <stack>
#include <wx/filefn.h>
#include <wx/log.h>
#include <eda_item.h>
#include <id.h>

3
eeschema/sch_screen.h

@ -45,12 +45,11 @@
#include <title_block.h>
#include <lib_id.h>
#include <sch_symbol.h> // SCH_SYMBOL_INSTANCE
#include <sch_reference_list.h>
#include <sch_rtree.h>
#include <sch_sheet.h>
#include <sch_label.h>
#include <sch_sheet_path.h>
#include <sch_sheet_path.h> // SCH_SYMBOL_INSTANCE
class BUS_ALIAS;
class EDA_ITEM;

1
eeschema/schematic_undo_redo.cpp

@ -36,6 +36,7 @@
#include <tools/ee_selection_tool.h>
#include <drawing_sheet/ds_proxy_undo_item.h>
#include <tool/actions.h>
#include <wx/log.h>
/* Functions to undo and redo edit commands.

3
eeschema/sim/simulator_frame_ui.cpp

@ -30,6 +30,8 @@
#include <wx/wfstream.h>
#include <wx/stdstream.h>
#include <wx/debug.h>
#include <wx/clipbrd.h>
#include <wx/log.h>
#include <project/project_file.h>
#include <sch_edit_frame.h>
@ -50,7 +52,6 @@
#include <dialogs/dialog_sim_format_value.h>
#include <eeschema_settings.h>
#include "kiplatform/app.h"
#include "wx/clipbrd.h"
SIM_TRACE_TYPE operator|( SIM_TRACE_TYPE aFirst, SIM_TRACE_TYPE aSecond )

1
eeschema/symbol_editor/symbol_edit_frame.cpp

@ -79,6 +79,7 @@
#include <panel_sym_lib_table.h>
#include <string_utils.h>
#include <wx/msgdlg.h>
#include <wx/log.h>
bool SYMBOL_EDIT_FRAME::m_showDeMorgan = false;

1
eeschema/symbol_viewer_frame.cpp

@ -61,6 +61,7 @@
#include <tools/ee_inspection_tool.h>
#include <view/view_controls.h>
#include <wx/srchctrl.h>
#include <wx/log.h>
#include <default_values.h>
#include <string_utils.h>

1
eeschema/tools/sch_editor_control.cpp

@ -78,6 +78,7 @@
#include <wx_filename.h>
#include <sch_sheet_path.h>
#include <wx/filedlg.h>
#include <wx/log.h>
#include <wx/treectrl.h>
#include <wx/msgdlg.h>
#include "sch_edit_table_tool.h"

1
eeschema/widgets/panel_symbol_chooser.cpp

@ -43,6 +43,7 @@
#include <wx/splitter.h>
#include <wx/timer.h>
#include <wx/wxhtml.h>
#include <wx/log.h>
wxString PANEL_SYMBOL_CHOOSER::g_symbolSearchString;

2
include/font/glyph.h

@ -29,8 +29,8 @@
#include <memory>
#include <math/box2.h>
#include <geometry/shape_poly_set.h>
#include <geometry/eda_angle.h>
#include <wx/debug.h>
#include "../../libs/kimath/include/geometry/eda_angle.h"
#if defined( _MSC_VER )
#pragma warning( push )

16
include/pcb_base_frame.h

@ -37,7 +37,6 @@
#include <pcb_screen.h>
#include <vector>
#include <wx/fswatcher.h>
#include <wx/datetime.h>
#include <wx/timer.h>
@ -63,6 +62,21 @@ struct MAGNETIC_SETTINGS;
class NL_PCBNEW_PLUGIN;
class PROGRESS_REPORTER;
#ifdef wxHAS_INOTIFY
#define wxFileSystemWatcher wxInotifyFileSystemWatcher
#elif defined( wxHAS_KQUEUE ) && defined( wxHAVE_FSEVENTS_FILE_NOTIFICATIONS )
#define wxFileSystemWatcher wxFsEventsFileSystemWatcher
#elif defined( wxHAS_KQUEUE )
#define wxFileSystemWatcher wxKqueueFileSystemWatcher
#elif defined( __WINDOWS__ )
#define wxFileSystemWatcher wxMSWFileSystemWatcher
#else
#define wxFileSystemWatcher wxPollingFileSystemWatcher
#endif
class wxFileSystemWatcher;
class wxFileSystemWatcherEvent;
wxDECLARE_EVENT( EDA_EVT_BOARD_CHANGED, wxCommandEvent );
/**

2
include/pgm_base.h

@ -39,12 +39,12 @@
#include <search_stack.h>
#include <settings/environment.h>
#include <wx/filename.h>
#include <wx/snglinst.h>
class wxApp;
class wxMenu;
class wxWindow;
class wxSplashScreen;
class wxSingleInstanceChecker;
class BACKGROUND_JOBS_MONITOR;
class NOTIFICATIONS_MANAGER;

3
include/tool/selection_conditions.h

@ -30,7 +30,8 @@
#include <functional>
#include <core/typeinfo.h>
#include <vector>
#include <tool/selection.h>
class SELECTION;
///< Functor type that checks a specific condition for selected items.
typedef std::function<bool (const SELECTION&)> SELECTION_CONDITION;

4
include/view/view_overlay.h

@ -33,9 +33,9 @@
#include <vector>
#include <deque>
#include <geometry/shape_poly_set.h>
class SEG;
class SHAPE_LINE_CHAIN;
class SHAPE_POLY_SET;
namespace KIGFX
{

1
kicad/cli/command_pcb_export_3d.cpp

@ -20,6 +20,7 @@
#include "command_pcb_export_3d.h"
#include <cli/exit_codes.h>
#include <base_units.h>
#include <kiface_base.h>
#include <regex>
#include <string_utils.h>

1
kicad/cli/command_sch_export_bom.cpp

@ -25,6 +25,7 @@
#include <layer_ids.h>
#include <string_utils.h>
#include <wx/crt.h>
#include <wx/tokenzr.h>
#include <schematic_settings.h>
#include <macros.h>

1
pcbnew/dialogs/dialog_drc.cpp

@ -41,6 +41,7 @@
#include <wildcards_and_files_ext.h>
#include <pcb_marker.h>
#include <pgm_base.h>
#include <wx/app.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#include <wx/wupdlock.h>

1
pcbnew/exporters/export_hyperlynx.cpp

@ -38,6 +38,7 @@
#include <locale_io.h>
#include <reporter.h>
#include <exporters/board_exporter_base.h>
#include <wx/log.h>
static double iu2hyp( double iu )
{

1
pcbnew/pcb_base_frame.cpp

@ -57,6 +57,7 @@
#include <math/vector2d.h>
#include <math/vector2wx.h>
#include <widgets/msgpanel.h>
#include <wx/fswatcher.h>
#include <settings/settings_manager.h>
#include <settings/cvpcb_settings.h>

1
pcbnew/python/scripting/pcbnew_action_plugins.cpp

@ -41,6 +41,7 @@
#include <tools/pcb_selection_tool.h>
#include <pcb_painter.h>
#include <wx/msgdlg.h>
#include <wx/app.h>
#include <kiplatform/app.h>
#include "../../scripting/python_scripting.h"

1
pcbnew/tools/pcb_grid_helper.h

@ -30,6 +30,7 @@
#include <pcb_item_containers.h>
#include <tool/grid_helper.h>
class SHAPE_ARC;
class TOOL_MANAGER;
struct MAGNETIC_SETTINGS;
struct PCB_SELECTION_FILTER_OPTIONS;

1
pcbnew/widgets/panel_footprint_chooser.cpp

@ -26,6 +26,7 @@
#include <widgets/panel_footprint_chooser.h>
#include <wx/button.h>
#include <wx/clipbrd.h>
#include <wx/log.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/splitter.h>

Loading…
Cancel
Save