2017-02-23 10:40:40 +00:00
|
|
|
# .cpp files are compiled with extra ${WSHADOW_FLAGS}
|
|
|
|
if( COMPILER_SUPPORTS_WSHADOW )
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WSHADOW_FLAGS}")
|
|
|
|
endif()
|
|
|
|
|
2014-02-03 15:10:37 +00:00
|
|
|
add_definitions( -DEESCHEMA )
|
2012-01-23 04:33:36 +00:00
|
|
|
|
2016-08-12 13:56:51 +00:00
|
|
|
if( KICAD_SPICE )
|
|
|
|
set( INC_AFTER ${INC_AFTER} ${NGSPICE_INCLUDE_DIR} )
|
2018-10-29 13:23:03 +00:00
|
|
|
|
|
|
|
# Find out the exact libngspice file name
|
|
|
|
get_filename_component( NGSPICE_DLL_REALPATH "${NGSPICE_DLL}" REALPATH )
|
|
|
|
get_filename_component( NGSPICE_DLL_FILE "${NGSPICE_DLL_REALPATH}" NAME )
|
|
|
|
|
|
|
|
set_property( SOURCE sim/ngspice.cpp
|
|
|
|
APPEND PROPERTY COMPILE_DEFINITIONS
|
|
|
|
NGSPICE_DLL_FILE="${NGSPICE_DLL_FILE}"
|
|
|
|
)
|
2016-08-12 13:56:51 +00:00
|
|
|
endif()
|
|
|
|
|
2014-02-03 15:10:37 +00:00
|
|
|
include_directories( BEFORE ${INC_BEFORE} )
|
2012-01-23 04:33:36 +00:00
|
|
|
include_directories(
|
|
|
|
./dialogs
|
2015-03-21 10:46:54 +00:00
|
|
|
./netlist_exporters
|
2016-02-28 17:33:29 +00:00
|
|
|
./widgets
|
2018-08-03 12:18:26 +00:00
|
|
|
./libedit
|
|
|
|
./libview
|
2019-04-12 19:18:45 +00:00
|
|
|
./tools
|
2020-01-22 23:27:20 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/common
|
|
|
|
${CMAKE_SOURCE_DIR}/common/dialogs
|
|
|
|
${CMAKE_SOURCE_DIR}/libs/sexpr/include
|
2012-01-23 04:33:36 +00:00
|
|
|
${INC_AFTER}
|
|
|
|
)
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2014-02-03 15:10:37 +00:00
|
|
|
set( EESCHEMA_DLGS
|
2013-06-07 20:56:55 +00:00
|
|
|
dialogs/dialog_annotate.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
dialogs/dialog_annotate_base.cpp
|
2013-06-14 14:59:52 +00:00
|
|
|
dialogs/dialog_bom.cpp
|
|
|
|
dialogs/dialog_bom_base.cpp
|
2019-03-11 21:32:05 +00:00
|
|
|
dialogs/dialog_bus_manager.cpp
|
2018-02-09 16:35:45 +00:00
|
|
|
dialogs/dialog_fields_editor_global.cpp
|
|
|
|
dialogs/dialog_fields_editor_global_base.cpp
|
2014-02-14 08:05:04 +00:00
|
|
|
dialogs/dialog_choose_component.cpp
|
2010-11-18 21:10:52 +00:00
|
|
|
dialogs/dialog_edit_component_in_lib.cpp
|
|
|
|
dialogs/dialog_edit_component_in_lib_base.cpp
|
|
|
|
dialogs/dialog_edit_component_in_schematic.cpp
|
2018-03-18 21:37:27 +00:00
|
|
|
dialogs/dialog_edit_component_in_schematic_base.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
dialogs/dialog_edit_components_libid.cpp
|
|
|
|
dialogs/dialog_edit_components_libid_base.cpp
|
2010-11-18 21:10:52 +00:00
|
|
|
dialogs/dialog_edit_label.cpp
|
|
|
|
dialogs/dialog_edit_label_base.cpp
|
2017-10-31 16:33:37 +00:00
|
|
|
dialogs/dialog_edit_line_style.cpp
|
|
|
|
dialogs/dialog_edit_line_style_base.cpp
|
2012-02-22 14:04:48 +00:00
|
|
|
dialogs/dialog_edit_one_field.cpp
|
2019-08-22 09:49:35 +00:00
|
|
|
dialogs/dialog_edit_sheet_pin.cpp
|
|
|
|
dialogs/dialog_edit_sheet_pin_base.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
dialogs/dialog_erc.cpp
|
|
|
|
dialogs/dialog_erc_base.cpp
|
2017-10-02 12:53:48 +00:00
|
|
|
dialogs/dialog_global_sym_lib_table_config.cpp
|
2019-06-30 22:06:34 +00:00
|
|
|
dialogs/dialog_global_edit_text_and_graphics.cpp
|
|
|
|
dialogs/dialog_global_edit_text_and_graphics_base.cpp
|
2010-11-17 21:47:27 +00:00
|
|
|
dialogs/dialog_lib_edit_draw_item.cpp
|
|
|
|
dialogs/dialog_lib_edit_draw_item_base.cpp
|
2010-11-17 18:41:20 +00:00
|
|
|
dialogs/dialog_lib_edit_pin.cpp
|
|
|
|
dialogs/dialog_lib_edit_pin_base.cpp
|
2015-03-27 10:26:07 +00:00
|
|
|
dialogs/dialog_lib_edit_pin_table.cpp
|
|
|
|
dialogs/dialog_lib_edit_pin_table_base.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
dialogs/dialog_lib_edit_text.cpp
|
|
|
|
dialogs/dialog_lib_edit_text_base.cpp
|
2010-11-20 21:59:00 +00:00
|
|
|
dialogs/dialog_lib_new_component.cpp
|
|
|
|
dialogs/dialog_lib_new_component_base.cpp
|
2019-03-11 21:32:05 +00:00
|
|
|
dialogs/dialog_migrate_buses.cpp
|
|
|
|
dialogs/dialog_migrate_buses_base.cpp
|
2012-12-16 11:36:18 +00:00
|
|
|
dialogs/dialog_netlist.cpp
|
2012-08-21 10:45:54 +00:00
|
|
|
dialogs/dialog_netlist_base.cpp
|
2019-09-02 18:23:46 +00:00
|
|
|
dialogs/dialog_paste_special.cpp
|
|
|
|
dialogs/dialog_paste_special_base.cpp
|
2012-09-17 17:42:27 +00:00
|
|
|
dialogs/dialog_plot_schematic.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
dialogs/dialog_plot_schematic_base.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
dialogs/dialog_print_using_printer.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
dialogs/dialog_print_using_printer_base.cpp
|
2015-04-25 22:26:51 +00:00
|
|
|
dialogs/dialog_rescue_each.cpp
|
|
|
|
dialogs/dialog_rescue_each_base.cpp
|
2019-08-22 09:49:35 +00:00
|
|
|
dialogs/dialog_edit_sheet_pin.cpp
|
2020-03-10 18:46:57 +00:00
|
|
|
dialogs/dialog_sch_import_settings.cpp
|
|
|
|
dialogs/dialog_sch_import_settings_base.cpp
|
2010-11-20 21:59:00 +00:00
|
|
|
dialogs/dialog_sch_sheet_props.cpp
|
|
|
|
dialogs/dialog_sch_sheet_props_base.cpp
|
2010-10-26 20:25:48 +00:00
|
|
|
dialogs/dialog_schematic_find.cpp
|
|
|
|
dialogs/dialog_schematic_find_base.cpp
|
2020-03-10 18:46:57 +00:00
|
|
|
dialogs/dialog_schematic_setup.cpp
|
2018-09-04 00:00:17 +00:00
|
|
|
dialogs/dialog_set_grid.cpp
|
|
|
|
dialogs/dialog_set_grid_base.cpp
|
2017-03-09 23:33:39 +00:00
|
|
|
dialogs/dialog_symbol_remap.cpp
|
|
|
|
dialogs/dialog_symbol_remap_base.cpp
|
2017-10-02 12:53:48 +00:00
|
|
|
dialogs/dialog_update_fields.cpp
|
|
|
|
dialogs/dialog_update_fields_base.cpp
|
2020-01-29 16:33:57 +00:00
|
|
|
dialogs/dialog_update_from_pcb.cpp
|
|
|
|
dialogs/dialog_update_from_pcb_base.cpp
|
2020-02-03 16:46:58 +00:00
|
|
|
dialogs/panel_eeschema_color_settings.cpp
|
2018-05-14 17:34:18 +00:00
|
|
|
dialogs/panel_eeschema_template_fieldnames.cpp
|
|
|
|
dialogs/panel_eeschema_template_fieldnames_base.cpp
|
|
|
|
dialogs/panel_eeschema_display_options.cpp
|
|
|
|
dialogs/panel_eeschema_display_options_base.cpp
|
|
|
|
dialogs/panel_eeschema_settings.cpp
|
|
|
|
dialogs/panel_eeschema_settings_base.cpp
|
|
|
|
dialogs/panel_libedit_settings.cpp
|
|
|
|
dialogs/panel_libedit_settings_base.cpp
|
2020-03-06 03:57:50 +00:00
|
|
|
dialogs/panel_libedit_color_settings.cpp
|
|
|
|
dialogs/panel_libedit_color_settings_base.cpp
|
2020-03-10 18:46:57 +00:00
|
|
|
dialogs/panel_setup_formatting.cpp
|
|
|
|
dialogs/panel_setup_formatting_base.cpp
|
2020-03-11 21:43:02 +00:00
|
|
|
dialogs/panel_setup_pinmap.cpp
|
|
|
|
dialogs/panel_setup_pinmap_base.cpp
|
2018-07-20 17:46:56 +00:00
|
|
|
dialogs/panel_sym_lib_table.cpp
|
|
|
|
dialogs/panel_sym_lib_table_base.cpp
|
2012-08-21 10:45:54 +00:00
|
|
|
)
|
|
|
|
|
2016-01-16 23:50:45 +00:00
|
|
|
set( EESCHEMA_WIDGETS
|
2016-02-28 17:33:29 +00:00
|
|
|
widgets/pin_shape_combobox.cpp
|
|
|
|
widgets/pin_type_combobox.cpp
|
2018-08-28 13:26:39 +00:00
|
|
|
widgets/symbol_preview_widget.cpp
|
2018-07-27 20:47:51 +00:00
|
|
|
widgets/symbol_tree_pane.cpp
|
2016-01-16 23:50:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2018-08-03 12:18:26 +00:00
|
|
|
set ( EESCHEMA_LIBEDIT_SRCS
|
|
|
|
libedit/libedit.cpp
|
|
|
|
libedit/libedit_plot_component.cpp
|
2020-01-13 01:44:19 +00:00
|
|
|
libedit/libedit_settings.cpp
|
2018-08-03 12:18:26 +00:00
|
|
|
libedit/libedit_undo_redo.cpp
|
|
|
|
libedit/lib_edit_frame.cpp
|
|
|
|
libedit/menubar_libedit.cpp
|
|
|
|
libedit/symbedit.cpp
|
2019-05-06 08:56:24 +00:00
|
|
|
libedit/toolbars_libedit.cpp
|
2018-08-03 12:18:26 +00:00
|
|
|
libedit/lib_export.cpp
|
|
|
|
libedit/lib_manager.cpp
|
|
|
|
|
|
|
|
)
|
2014-02-03 15:10:37 +00:00
|
|
|
set( EESCHEMA_SRCS
|
2017-12-27 16:06:27 +00:00
|
|
|
${EESCHEMA_DLGS}
|
|
|
|
${EESCHEMA_WIDGETS}
|
2018-08-03 12:18:26 +00:00
|
|
|
${EESCHEMA_LIBEDIT_SRCS}
|
2018-11-12 13:45:07 +00:00
|
|
|
bom_plugins.cpp
|
2018-08-03 12:18:26 +00:00
|
|
|
sch_view.cpp
|
|
|
|
sch_painter.cpp
|
2012-08-21 10:45:54 +00:00
|
|
|
annotate.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
autoplace_fields.cpp
|
2019-03-11 21:32:05 +00:00
|
|
|
bus_alias.cpp
|
2012-08-21 10:45:54 +00:00
|
|
|
bus-wire-junction.cpp
|
|
|
|
class_libentry.cpp
|
|
|
|
class_library.cpp
|
|
|
|
cmp_library_lexer.cpp
|
|
|
|
component_references_lister.cpp
|
2019-03-11 21:32:05 +00:00
|
|
|
connection_graph.cpp
|
2012-08-21 10:45:54 +00:00
|
|
|
cross-probing.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
edit_label.cpp
|
2009-10-27 13:48:24 +00:00
|
|
|
eeschema_config.cpp
|
2020-01-13 01:44:19 +00:00
|
|
|
eeschema_settings.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
erc.cpp
|
2020-03-16 11:05:01 +00:00
|
|
|
erc_item.cpp
|
2018-02-28 16:54:35 +00:00
|
|
|
fields_grid_table.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
files-io.cpp
|
2017-02-19 14:00:02 +00:00
|
|
|
generate_alias_info.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
getpart.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
hierarch.cpp
|
2010-10-08 20:40:57 +00:00
|
|
|
lib_arc.cpp
|
|
|
|
lib_bezier.cpp
|
|
|
|
lib_circle.cpp
|
2019-08-15 07:09:52 +00:00
|
|
|
lib_item.cpp
|
2010-10-20 20:24:26 +00:00
|
|
|
lib_field.cpp
|
2010-10-22 12:11:52 +00:00
|
|
|
lib_pin.cpp
|
2010-10-08 20:40:57 +00:00
|
|
|
lib_polyline.cpp
|
|
|
|
lib_rectangle.cpp
|
2010-10-20 20:24:26 +00:00
|
|
|
lib_text.cpp
|
2019-12-19 14:05:46 +00:00
|
|
|
lib_view_frame.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
libarch.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
menubar.cpp
|
2018-01-30 09:51:55 +00:00
|
|
|
netlist_generator.cpp
|
|
|
|
netlist_object_list.cpp
|
2018-01-30 08:56:43 +00:00
|
|
|
netlist_object.cpp
|
2016-01-13 19:09:07 +00:00
|
|
|
pin_number.cpp
|
2016-02-28 17:33:29 +00:00
|
|
|
pin_shape.cpp
|
|
|
|
pin_type.cpp
|
2012-09-17 17:42:27 +00:00
|
|
|
plot_schematic_DXF.cpp
|
|
|
|
plot_schematic_HPGL.cpp
|
|
|
|
plot_schematic_PDF.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
plot_schematic_PS.cpp
|
2012-09-17 17:42:27 +00:00
|
|
|
plot_schematic_SVG.cpp
|
2018-08-03 12:18:26 +00:00
|
|
|
sch_draw_panel.cpp
|
2015-06-22 15:38:54 +00:00
|
|
|
project_rescue.cpp
|
2012-01-09 17:24:01 +00:00
|
|
|
sch_base_frame.cpp
|
2011-08-31 14:59:20 +00:00
|
|
|
sch_bitmap.cpp
|
2010-12-21 15:13:09 +00:00
|
|
|
sch_bus_entry.cpp
|
2019-05-10 19:22:26 +00:00
|
|
|
ee_collectors.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
sch_component.cpp
|
2019-03-11 21:32:05 +00:00
|
|
|
sch_connection.cpp
|
2017-02-27 10:07:52 +00:00
|
|
|
sch_eagle_plugin.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
sch_field.cpp
|
2016-07-06 09:22:56 +00:00
|
|
|
sch_io_mgr.cpp
|
2019-05-10 19:57:24 +00:00
|
|
|
sch_item.cpp
|
2011-01-12 21:47:54 +00:00
|
|
|
sch_junction.cpp
|
2016-07-06 09:22:56 +00:00
|
|
|
sch_legacy_plugin.cpp
|
2010-12-21 15:13:09 +00:00
|
|
|
sch_line.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
sch_marker.cpp
|
2010-12-21 15:13:09 +00:00
|
|
|
sch_no_connect.cpp
|
2019-04-03 09:14:36 +00:00
|
|
|
sch_pin.cpp
|
2016-07-06 09:22:56 +00:00
|
|
|
sch_plugin.cpp
|
2018-08-28 13:26:39 +00:00
|
|
|
sch_preview_panel.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
sch_screen.cpp
|
2020-02-28 14:03:09 +00:00
|
|
|
sch_sexpr_parser.cpp
|
2020-02-13 13:39:52 +00:00
|
|
|
sch_sexpr_plugin.cpp
|
2010-11-11 21:10:27 +00:00
|
|
|
sch_sheet.cpp
|
|
|
|
sch_sheet_path.cpp
|
|
|
|
sch_sheet_pin.cpp
|
|
|
|
sch_text.cpp
|
2016-04-02 12:25:44 +00:00
|
|
|
sch_validators.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
schematic_undo_redo.cpp
|
2018-01-30 10:49:51 +00:00
|
|
|
sch_edit_frame.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
sheet.cpp
|
2016-11-20 18:33:07 +00:00
|
|
|
symbol_lib_table.cpp
|
2018-07-27 20:47:51 +00:00
|
|
|
symbol_tree_model_adapter.cpp
|
|
|
|
symbol_tree_synchronizing_adapter.cpp
|
2019-12-19 14:05:46 +00:00
|
|
|
toolbars_lib_view.cpp
|
2019-05-06 08:56:24 +00:00
|
|
|
toolbars_sch_editor.cpp
|
2010-10-20 20:24:26 +00:00
|
|
|
transform.cpp
|
2016-08-11 12:41:29 +00:00
|
|
|
|
2015-03-21 10:46:54 +00:00
|
|
|
netlist_exporters/netlist_exporter.cpp
|
|
|
|
netlist_exporters/netlist_exporter_cadstar.cpp
|
|
|
|
netlist_exporters/netlist_exporter_generic.cpp
|
|
|
|
netlist_exporters/netlist_exporter_kicad.cpp
|
|
|
|
netlist_exporters/netlist_exporter_orcadpcb2.cpp
|
|
|
|
netlist_exporters/netlist_exporter_pspice.cpp
|
2019-04-12 19:18:45 +00:00
|
|
|
|
2020-01-29 16:33:57 +00:00
|
|
|
tools/backannotate.cpp
|
2019-06-17 00:34:21 +00:00
|
|
|
tools/backanno.cpp
|
|
|
|
tools/ee_actions.cpp
|
2019-05-12 11:49:58 +00:00
|
|
|
tools/ee_inspection_tool.cpp
|
|
|
|
tools/ee_point_editor.cpp
|
2019-06-08 21:48:22 +00:00
|
|
|
tools/ee_selection.cpp
|
2019-05-12 11:49:58 +00:00
|
|
|
tools/ee_selection_tool.cpp
|
2019-05-14 19:21:10 +00:00
|
|
|
tools/lib_control.cpp
|
2019-05-07 18:49:53 +00:00
|
|
|
tools/lib_drawing_tools.cpp
|
2019-05-08 18:56:03 +00:00
|
|
|
tools/lib_edit_tool.cpp
|
|
|
|
tools/lib_move_tool.cpp
|
2019-05-07 18:49:53 +00:00
|
|
|
tools/lib_pin_tool.cpp
|
|
|
|
tools/sch_drawing_tools.cpp
|
2019-04-21 23:45:34 +00:00
|
|
|
tools/sch_edit_tool.cpp
|
|
|
|
tools/sch_editor_control.cpp
|
2019-06-16 13:42:40 +00:00
|
|
|
tools/sch_line_wire_bus_tool.cpp
|
2019-05-04 13:02:05 +00:00
|
|
|
tools/sch_move_tool.cpp
|
2012-01-23 04:33:36 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2014-02-03 15:10:37 +00:00
|
|
|
set( EESCHEMA_COMMON_SRCS
|
2020-01-22 23:27:20 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/common/dialogs/dialog_page_settings.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/common/dialogs/panel_display_options.cpp
|
2020-03-10 18:46:57 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/common/dialogs/panel_setup_severities.cpp
|
2020-03-04 02:02:22 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/common/common.cpp
|
2020-01-22 23:27:20 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/common/base_screen.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/common/base_units.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/common/eda_text.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/common/page_info.cpp
|
2012-01-23 04:33:36 +00:00
|
|
|
)
|
|
|
|
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2016-08-11 12:42:13 +00:00
|
|
|
if( KICAD_SPICE )
|
2016-08-12 13:56:51 +00:00
|
|
|
set( EESCHEMA_SRCS
|
2016-08-11 12:42:13 +00:00
|
|
|
${EESCHEMA_SRCS}
|
2017-12-27 16:06:27 +00:00
|
|
|
sim/netlist_exporter_pspice_sim.cpp
|
|
|
|
sim/ngspice.cpp
|
2016-08-11 12:42:13 +00:00
|
|
|
sim/sim_plot_frame.cpp
|
2017-12-27 16:06:27 +00:00
|
|
|
sim/sim_plot_frame_base.cpp
|
2016-08-11 12:42:13 +00:00
|
|
|
sim/sim_plot_panel.cpp
|
|
|
|
sim/spice_simulator.cpp
|
|
|
|
sim/spice_value.cpp
|
2019-04-23 17:12:26 +00:00
|
|
|
simulation_cursors.cpp
|
2016-08-11 12:42:13 +00:00
|
|
|
dialogs/dialog_signal_list.cpp
|
|
|
|
dialogs/dialog_signal_list_base.cpp
|
|
|
|
dialogs/dialog_sim_settings.cpp
|
|
|
|
dialogs/dialog_sim_settings_base.cpp
|
|
|
|
dialogs/dialog_spice_model.cpp
|
|
|
|
dialogs/dialog_spice_model_base.cpp
|
|
|
|
widgets/tuner_slider.cpp
|
|
|
|
widgets/tuner_slider_base.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
2014-02-03 15:10:37 +00:00
|
|
|
if( MINGW )
|
|
|
|
# EESCHEMA_RESOURCES variable is set by the macro.
|
|
|
|
mingw_resource_compiler( eeschema )
|
2016-01-28 16:53:24 +00:00
|
|
|
else()
|
|
|
|
set( EESCHEMA_RESOURCES eeschema.rc )
|
2014-02-03 15:10:37 +00:00
|
|
|
endif()
|
|
|
|
|
2019-12-29 08:53:39 +00:00
|
|
|
# Create a C++ compilable string initializer containing markdown text into a *.h file:
|
2013-06-14 14:59:52 +00:00
|
|
|
add_custom_command(
|
2019-12-29 08:53:39 +00:00
|
|
|
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help_md.h
|
2013-06-14 14:59:52 +00:00
|
|
|
COMMAND ${CMAKE_COMMAND}
|
2019-12-29 08:53:39 +00:00
|
|
|
-DinputFile=${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help.md
|
|
|
|
-DoutputFile=${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help_md.h
|
|
|
|
-P ${CMAKE_MODULE_PATH}/markdown2C.cmake
|
|
|
|
DEPENDS ${CMAKE_MODULE_PATH}/markdown2C.cmake ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help.md
|
|
|
|
COMMENT "creating ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help_md.h
|
|
|
|
from ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help.md"
|
2013-06-14 14:59:52 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set_source_files_properties( dialogs/dialog_bom.cpp
|
|
|
|
PROPERTIES
|
2019-12-29 08:53:39 +00:00
|
|
|
OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/dialog_bom_help_md.h
|
2013-06-14 14:59:52 +00:00
|
|
|
)
|
|
|
|
|
2014-10-17 17:45:33 +00:00
|
|
|
if( APPLE )
|
|
|
|
# setup bundle
|
|
|
|
set( EESCHEMA_RESOURCES eeschema.icns eeschema_doc.icns )
|
|
|
|
set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/eeschema.icns" PROPERTIES
|
|
|
|
MACOSX_PACKAGE_LOCATION Resources
|
|
|
|
)
|
|
|
|
set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/eeschema_doc.icns" PROPERTIES
|
|
|
|
MACOSX_PACKAGE_LOCATION Resources
|
|
|
|
)
|
|
|
|
set( MACOSX_BUNDLE_ICON_FILE eeschema.icns )
|
2015-10-29 19:43:04 +00:00
|
|
|
set( MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-pcb.kicad )
|
2014-10-17 17:45:33 +00:00
|
|
|
set( MACOSX_BUNDLE_NAME eeschema )
|
|
|
|
endif()
|
|
|
|
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2014-10-26 19:54:48 +00:00
|
|
|
add_executable( eeschema WIN32 MACOSX_BUNDLE
|
2020-01-22 23:27:20 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/common/single_top.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/common/pgm_base.cpp
|
2014-10-26 19:54:48 +00:00
|
|
|
${EESCHEMA_RESOURCES}
|
|
|
|
)
|
2020-01-22 23:27:20 +00:00
|
|
|
set_source_files_properties( ${CMAKE_SOURCE_DIR}/common/single_top.cpp PROPERTIES
|
2014-10-26 19:54:48 +00:00
|
|
|
COMPILE_DEFINITIONS "TOP_FRAME=FRAME_SCH;PGM_DATA_FILE_EXT=\"sch\";BUILD_KIWAY_DLL"
|
|
|
|
)
|
|
|
|
target_link_libraries( eeschema
|
|
|
|
#singletop # replaces common, giving us restrictive control and link warnings.
|
|
|
|
# There's way too much crap coming in from common yet.
|
2017-02-20 16:57:41 +00:00
|
|
|
gal
|
2018-08-03 12:18:26 +00:00
|
|
|
common
|
2016-08-11 12:41:21 +00:00
|
|
|
${wxWidgets_LIBRARIES}
|
2014-10-26 19:54:48 +00:00
|
|
|
)
|
|
|
|
|
Eeschema: build with object libraries
This is done to allow access to the eeschema library
internals for purposes of test and script access, as the
DLL library has highly restrictive -fvisibility settings
that otherwise prevent the tests being able to access 99.9%
of the eeschema library functions (only a single function
is APIEXPORT'ed, therefore that's the only test we can do).
Using object libraries is a bit of a hack, and makes for
a slower link when done for multiple targets, but with the currently
supported CMake versions, it's about as good as we can get.
A better solution in the longer term may be to break eeschema_kiface(_objects)
into many smaller libraries, each of which has a much more defined scope,
rather than one big interlinked amorphous lump. This has the advantage that
each module is testable in isolation, and we get better organisation of
inter-dependencies in the codebase.
Then, the kiface DLL will gather these sub-libs and present what
is needed on the visible DLL API. Thus, we get both a testable
suite of library functions, and a restricted kiface DLL interface.
2019-04-23 07:58:17 +00:00
|
|
|
# the main Eeschema program, in DSO form.
|
|
|
|
add_library( eeschema_kiface_objects OBJECT
|
2014-10-26 19:54:48 +00:00
|
|
|
${EESCHEMA_SRCS}
|
|
|
|
${EESCHEMA_COMMON_SRCS}
|
|
|
|
)
|
Eeschema: build with object libraries
This is done to allow access to the eeschema library
internals for purposes of test and script access, as the
DLL library has highly restrictive -fvisibility settings
that otherwise prevent the tests being able to access 99.9%
of the eeschema library functions (only a single function
is APIEXPORT'ed, therefore that's the only test we can do).
Using object libraries is a bit of a hack, and makes for
a slower link when done for multiple targets, but with the currently
supported CMake versions, it's about as good as we can get.
A better solution in the longer term may be to break eeschema_kiface(_objects)
into many smaller libraries, each of which has a much more defined scope,
rather than one big interlinked amorphous lump. This has the advantage that
each module is testable in isolation, and we get better organisation of
inter-dependencies in the codebase.
Then, the kiface DLL will gather these sub-libs and present what
is needed on the visible DLL API. Thus, we get both a testable
suite of library functions, and a restricted kiface DLL interface.
2019-04-23 07:58:17 +00:00
|
|
|
|
|
|
|
# CMake <3.9 can't link anything to object libraries,
|
|
|
|
# but we only need include directories, as we will link the kiface MODULE
|
2019-07-03 09:08:55 +00:00
|
|
|
target_include_directories( eeschema_kiface_objects PUBLIC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
$<TARGET_PROPERTY:common,INTERFACE_INCLUDE_DIRECTORIES>
|
Eeschema: build with object libraries
This is done to allow access to the eeschema library
internals for purposes of test and script access, as the
DLL library has highly restrictive -fvisibility settings
that otherwise prevent the tests being able to access 99.9%
of the eeschema library functions (only a single function
is APIEXPORT'ed, therefore that's the only test we can do).
Using object libraries is a bit of a hack, and makes for
a slower link when done for multiple targets, but with the currently
supported CMake versions, it's about as good as we can get.
A better solution in the longer term may be to break eeschema_kiface(_objects)
into many smaller libraries, each of which has a much more defined scope,
rather than one big interlinked amorphous lump. This has the advantage that
each module is testable in isolation, and we get better organisation of
inter-dependencies in the codebase.
Then, the kiface DLL will gather these sub-libs and present what
is needed on the visible DLL API. Thus, we get both a testable
suite of library functions, and a restricted kiface DLL interface.
2019-04-23 07:58:17 +00:00
|
|
|
)
|
|
|
|
|
2019-07-03 09:08:55 +00:00
|
|
|
# Since we're not using target_link_libraries, we need to explicitly
|
|
|
|
# declare the dependency
|
|
|
|
add_dependencies( eeschema_kiface_objects common )
|
|
|
|
|
Eeschema: build with object libraries
This is done to allow access to the eeschema library
internals for purposes of test and script access, as the
DLL library has highly restrictive -fvisibility settings
that otherwise prevent the tests being able to access 99.9%
of the eeschema library functions (only a single function
is APIEXPORT'ed, therefore that's the only test we can do).
Using object libraries is a bit of a hack, and makes for
a slower link when done for multiple targets, but with the currently
supported CMake versions, it's about as good as we can get.
A better solution in the longer term may be to break eeschema_kiface(_objects)
into many smaller libraries, each of which has a much more defined scope,
rather than one big interlinked amorphous lump. This has the advantage that
each module is testable in isolation, and we get better organisation of
inter-dependencies in the codebase.
Then, the kiface DLL will gather these sub-libs and present what
is needed on the visible DLL API. Thus, we get both a testable
suite of library functions, and a restricted kiface DLL interface.
2019-04-23 07:58:17 +00:00
|
|
|
add_library( eeschema_kiface MODULE
|
|
|
|
eeschema.cpp
|
|
|
|
$<TARGET_OBJECTS:eeschema_kiface_objects>
|
|
|
|
)
|
|
|
|
|
2019-07-03 09:08:55 +00:00
|
|
|
target_include_directories( eeschema_kiface PUBLIC
|
|
|
|
$<TARGET_PROPERTY:eeschema_kiface_objects,INTERFACE_INCLUDE_DIRECTORIES>
|
|
|
|
)
|
|
|
|
|
2014-10-26 19:54:48 +00:00
|
|
|
target_link_libraries( eeschema_kiface
|
2018-08-03 12:18:26 +00:00
|
|
|
common
|
2019-11-09 19:39:08 +00:00
|
|
|
sexpr
|
2019-12-29 08:53:39 +00:00
|
|
|
markdown_lib
|
2016-08-11 12:41:21 +00:00
|
|
|
${wxWidgets_LIBRARIES}
|
2014-10-26 19:54:48 +00:00
|
|
|
${GDI_PLUS_LIBRARIES}
|
2016-08-11 12:42:13 +00:00
|
|
|
)
|
2018-10-29 13:23:03 +00:00
|
|
|
|
|
|
|
if( KICAD_SPICE )
|
|
|
|
target_link_libraries( eeschema_kiface
|
|
|
|
${NGSPICE_LIBRARY}
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2014-10-26 19:54:48 +00:00
|
|
|
set_target_properties( eeschema_kiface PROPERTIES
|
|
|
|
# Decorate OUTPUT_NAME with PREFIX and SUFFIX, creating something like
|
|
|
|
# _eeschema.so, _eeschema.dll, or _eeschema.kiface
|
|
|
|
OUTPUT_NAME eeschema
|
|
|
|
PREFIX ${KIFACE_PREFIX}
|
|
|
|
SUFFIX ${KIFACE_SUFFIX}
|
|
|
|
)
|
|
|
|
|
|
|
|
# The KIFACE is in eeschema.cpp, export it:
|
|
|
|
set_source_files_properties( eeschema.cpp PROPERTIES
|
|
|
|
COMPILE_DEFINITIONS "BUILD_KIWAY_DLL;COMPILING_DLL"
|
|
|
|
)
|
|
|
|
|
|
|
|
# if building eeschema, then also build eeschema_kiface if out of date.
|
|
|
|
add_dependencies( eeschema eeschema_kiface )
|
|
|
|
|
|
|
|
if( MAKE_LINK_MAPS )
|
|
|
|
# generate link map with cross reference
|
|
|
|
set_target_properties( eeschema_kiface PROPERTIES
|
2019-03-15 05:13:09 +00:00
|
|
|
LINK_FLAGS "-Wl,-cref,-Map=${KIFACE_PREFIX}eeschema${KIFACE_SUFFIX}.map"
|
2014-02-03 15:10:37 +00:00
|
|
|
)
|
2014-10-26 19:54:48 +00:00
|
|
|
set_target_properties( eeschema PROPERTIES
|
2019-03-15 05:13:09 +00:00
|
|
|
LINK_FLAGS "-Wl,-cref,-Map=eeschema.map"
|
2014-02-03 15:10:37 +00:00
|
|
|
)
|
2014-10-26 19:54:48 +00:00
|
|
|
endif()
|
2014-02-03 15:10:37 +00:00
|
|
|
|
2014-10-26 19:54:48 +00:00
|
|
|
# these 2 binaries are a matched set, keep them together:
|
|
|
|
if( APPLE )
|
|
|
|
set_target_properties( eeschema PROPERTIES
|
2019-12-26 12:42:25 +00:00
|
|
|
MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/eeschema/Info.plist
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 00:42:08 +00:00
|
|
|
)
|
2014-10-26 19:54:48 +00:00
|
|
|
|
|
|
|
# puts binaries into the *.app bundle while linking
|
2014-02-03 19:26:18 +00:00
|
|
|
set_target_properties( eeschema_kiface PROPERTIES
|
2014-10-26 19:54:48 +00:00
|
|
|
LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_KIFACE_DIR}
|
2014-02-03 15:10:37 +00:00
|
|
|
)
|
2014-10-26 19:54:48 +00:00
|
|
|
# put individual bundle outside of main bundle as a first step
|
|
|
|
# will be pulled into the main bundle when creating main bundle
|
|
|
|
install( TARGETS eeschema
|
|
|
|
DESTINATION ${KICAD_BIN}
|
|
|
|
COMPONENT binary
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 00:42:08 +00:00
|
|
|
)
|
2016-02-29 19:08:03 +00:00
|
|
|
|
2014-10-26 19:54:48 +00:00
|
|
|
install( CODE "
|
2014-10-17 17:45:33 +00:00
|
|
|
# override default embedded path settings
|
|
|
|
${OSX_BUNDLE_OVERRIDE_PATHS}
|
|
|
|
|
|
|
|
# do all the work
|
|
|
|
include( BundleUtilities )
|
|
|
|
fixup_bundle( ${KICAD_BIN}/eeschema.app/Contents/MacOS/eeschema
|
|
|
|
\"\"
|
|
|
|
\"\"
|
|
|
|
)
|
|
|
|
" COMPONENT Runtime
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 00:42:08 +00:00
|
|
|
)
|
2018-04-19 09:36:22 +00:00
|
|
|
|
|
|
|
if( KICAD_SPICE )
|
|
|
|
# bundle libngspice, codemodels and scripts
|
|
|
|
get_filename_component( REAL_LIBNGSPICE ${NGSPICE_LIBRARY} REALPATH )
|
|
|
|
get_filename_component( LIBNGSPICE_PATH ${REAL_LIBNGSPICE} DIRECTORY )
|
|
|
|
install( FILES "${REAL_LIBNGSPICE}"
|
|
|
|
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" )
|
|
|
|
install( DIRECTORY "${LIBNGSPICE_PATH}/ngspice"
|
|
|
|
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim" )
|
|
|
|
install( DIRECTORY "${LIBNGSPICE_PATH}/../share/ngspice/scripts"
|
|
|
|
DESTINATION "${OSX_BUNDLE_INSTALL_PLUGIN_DIR}/sim/ngspice" )
|
|
|
|
endif()
|
2014-10-26 19:54:48 +00:00
|
|
|
else()
|
2014-10-17 17:45:33 +00:00
|
|
|
install( TARGETS eeschema
|
|
|
|
DESTINATION ${KICAD_BIN}
|
|
|
|
COMPONENT binary
|
|
|
|
)
|
2014-10-26 19:54:48 +00:00
|
|
|
install( TARGETS eeschema_kiface
|
|
|
|
# actual filename subject to change at milestone C)
|
|
|
|
# modular-kicad blueprint.
|
|
|
|
DESTINATION ${KICAD_BIN}
|
|
|
|
COMPONENT binary
|
|
|
|
)
|
* KIWAY Milestone A): Make major modules into DLL/DSOs.
! The initial testing of this commit should be done using a Debug build so that
all the wxASSERT()s are enabled. Also, be sure and keep enabled the
USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it
off is senseless anyways. If you want stable code, go back to a prior version,
the one tagged with "stable".
* Relocate all functionality out of the wxApp derivative into more finely
targeted purposes:
a) DLL/DSO specific
b) PROJECT specific
c) EXE or process specific
d) configuration file specific data
e) configuration file manipulations functions.
All of this functionality was blended into an extremely large wxApp derivative
and that was incompatible with the desire to support multiple concurrently
loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
An amazing amount of organization come from simply sorting each bit of
functionality into the proper box.
* Switch to wxConfigBase from wxConfig everywhere except instantiation.
* Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
PGM_SINGLE_TOP,
* Remove "Return" prefix on many function names.
* Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
* Fix building boost for use in a DSO on linux.
* Remove some of the assumptions in the CMakeLists.txt files that windows had
to be the host platform when building windows binaries.
* Reduce the number of wxStrings being constructed at program load time via
static construction.
* Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
these functions are useful even when the wxConfigBase comes from another
source, as is the case in the KICAD_MANAGER_FRAME.
* Move the setting of the KIPRJMOD environment variable into class PROJECT,
so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
* Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
its child wxFrames and wxDialogs now have a Kiway() member function which
returns a KIWAY& that that window tree branch is in support of. This is like
wxWindows DNA in that child windows get this member with proper value at time
of construction.
* Anticipate some of the needs for milestones B) and C) and make code
adjustments now in an effort to reduce work in those milestones.
* No testing has been done for python scripting, since milestone C) has that
being largely reworked and re-thought-out.
2014-03-20 00:42:08 +00:00
|
|
|
endif()
|
2014-02-03 15:10:37 +00:00
|
|
|
|
2014-10-22 23:25:59 +00:00
|
|
|
# auto-generate cmp_library_lexer.h and cmp_library_keywords.cpp for the component
|
|
|
|
# library format.
|
|
|
|
make_lexer(
|
2019-07-03 09:08:55 +00:00
|
|
|
eeschema_kiface_objects
|
|
|
|
cmp_library.keywords
|
|
|
|
cmp_library_lexer.h
|
|
|
|
cmp_library_keywords.cpp
|
2014-10-22 23:25:59 +00:00
|
|
|
TLIB_T
|
|
|
|
)
|
|
|
|
|
|
|
|
make_lexer(
|
2019-07-03 09:08:55 +00:00
|
|
|
eeschema_kiface_objects
|
|
|
|
dialogs/dialog_bom_cfg.keywords
|
|
|
|
dialogs/dialog_bom_cfg_lexer.h
|
|
|
|
dialogs/dialog_bom_cfg_keywords.cpp
|
2014-10-22 23:25:59 +00:00
|
|
|
T_BOMCFG_T
|
|
|
|
)
|
|
|
|
|
2020-02-13 13:39:52 +00:00
|
|
|
make_lexer(
|
|
|
|
eeschema_kiface_objects
|
2020-03-16 13:04:50 +00:00
|
|
|
schematic.keywords
|
|
|
|
schematic_lexer.h
|
|
|
|
schematic_keywords.cpp
|
2020-02-13 13:39:52 +00:00
|
|
|
TSYMBOL_LIB_T
|
|
|
|
)
|
|
|
|
|
2014-02-03 15:10:37 +00:00
|
|
|
add_subdirectory( plugins )
|