Split the srcs for kicad-cli from kicad to shrink the binary a little
This commit is contained in:
parent
6eedbe4a14
commit
93e313440e
|
@ -16,6 +16,24 @@ include_directories(
|
||||||
)
|
)
|
||||||
|
|
||||||
set( KICAD_SRCS
|
set( KICAD_SRCS
|
||||||
|
dialogs/dialog_template_selector_base.cpp
|
||||||
|
dialogs/dialog_template_selector.cpp
|
||||||
|
dialogs/panel_kicad_launcher_base.cpp
|
||||||
|
dialogs/panel_kicad_launcher.cpp
|
||||||
|
files-io.cpp
|
||||||
|
import_proj.cpp
|
||||||
|
import_project.cpp
|
||||||
|
kicad_manager_frame.cpp
|
||||||
|
menubar.cpp
|
||||||
|
project_template.cpp
|
||||||
|
project_tree_pane.cpp
|
||||||
|
project_tree.cpp
|
||||||
|
project_tree_item.cpp
|
||||||
|
tools/kicad_manager_actions.cpp
|
||||||
|
tools/kicad_manager_control.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
set( KICAD_CLI_SRCS
|
||||||
cli/command.cpp
|
cli/command.cpp
|
||||||
cli/command_export_pcb_base.cpp
|
cli/command_export_pcb_base.cpp
|
||||||
cli/command_export_pcb_drill.cpp
|
cli/command_export_pcb_drill.cpp
|
||||||
|
@ -33,21 +51,6 @@ set( KICAD_SRCS
|
||||||
cli/command_export_sch_svg.cpp
|
cli/command_export_sch_svg.cpp
|
||||||
cli/command_sym_export_svg.cpp
|
cli/command_sym_export_svg.cpp
|
||||||
cli/command_sym_upgrade.cpp
|
cli/command_sym_upgrade.cpp
|
||||||
dialogs/dialog_template_selector_base.cpp
|
|
||||||
dialogs/dialog_template_selector.cpp
|
|
||||||
dialogs/panel_kicad_launcher_base.cpp
|
|
||||||
dialogs/panel_kicad_launcher.cpp
|
|
||||||
files-io.cpp
|
|
||||||
import_proj.cpp
|
|
||||||
import_project.cpp
|
|
||||||
kicad_manager_frame.cpp
|
|
||||||
menubar.cpp
|
|
||||||
project_template.cpp
|
|
||||||
project_tree_pane.cpp
|
|
||||||
project_tree.cpp
|
|
||||||
project_tree_item.cpp
|
|
||||||
tools/kicad_manager_actions.cpp
|
|
||||||
tools/kicad_manager_control.cpp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if( WIN32 )
|
if( WIN32 )
|
||||||
|
@ -81,7 +84,7 @@ add_executable( kicad WIN32 MACOSX_BUNDLE
|
||||||
|
|
||||||
add_executable( kicad-cli WIN32
|
add_executable( kicad-cli WIN32
|
||||||
kicad_cli.cpp
|
kicad_cli.cpp
|
||||||
${KICAD_SRCS}
|
${KICAD_CLI_SRCS}
|
||||||
${KICAD_EXTRA_SRCS}
|
${KICAD_EXTRA_SRCS}
|
||||||
${KICAD_RESOURCES}
|
${KICAD_RESOURCES}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue