2008-10-30 20:12:29 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${Boost_INCLUDE_DIR}
|
2009-04-05 20:49:15 +00:00
|
|
|
../3d-viewer
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew
|
|
|
|
../polygon
|
2008-10-30 20:12:29 +00:00
|
|
|
)
|
2009-02-05 20:53:08 +00:00
|
|
|
|
2008-03-11 15:57:54 +00:00
|
|
|
set(COMMON_SRCS
|
2008-08-15 16:38:05 +00:00
|
|
|
about_kicad.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
base_screen.cpp
|
|
|
|
base_struct.cpp
|
|
|
|
basicframe.cpp
|
|
|
|
block_commande.cpp
|
2008-04-14 19:22:48 +00:00
|
|
|
class_drawpickedstruct.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
common.cpp
|
|
|
|
common_plot_functions.cpp
|
|
|
|
common_plotHPGL_functions.cpp
|
|
|
|
common_plotPS_functions.cpp
|
2008-12-22 21:06:44 +00:00
|
|
|
common_plotGERBER_functions.cpp
|
|
|
|
confirm.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
copy_to_clipboard.cpp
|
|
|
|
dcsvg.cpp
|
|
|
|
displlst.cpp
|
2008-11-24 06:53:43 +00:00
|
|
|
dlist.cpp
|
2008-12-19 13:51:48 +00:00
|
|
|
drawframe.cpp
|
2008-12-05 16:03:05 +00:00
|
|
|
drawpanel.cpp
|
2008-01-30 09:42:19 +00:00
|
|
|
drawtxt.cpp
|
|
|
|
edaappl.cpp
|
|
|
|
eda_dde.cpp
|
|
|
|
eda_doc.cpp
|
|
|
|
gestfich.cpp
|
|
|
|
get_component_dialog.cpp
|
|
|
|
gr_basic.cpp
|
|
|
|
hotkeys_basic.cpp
|
|
|
|
msgpanel.cpp
|
|
|
|
projet_config.cpp
|
|
|
|
# pyhandler.cpp
|
|
|
|
selcolor.cpp
|
|
|
|
string.cpp
|
|
|
|
toolbars.cpp
|
|
|
|
trigo.cpp
|
|
|
|
worksheet.cpp
|
2008-12-19 13:51:48 +00:00
|
|
|
wxwineda.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
zoom.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(common ${COMMON_SRCS})
|
2009-02-05 20:53:08 +00:00
|
|
|
|
2009-04-05 20:49:15 +00:00
|
|
|
set(PCB_COMMON_SRCS
|
|
|
|
pcbcommon.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/basepcbframe.cpp
|
|
|
|
../pcbnew/class_board.cpp
|
|
|
|
../pcbnew/class_board_connected_item.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
../pcbnew/class_board_item.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/class_cotation.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
../pcbnew/class_drawsegment.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/class_drc_item.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
../pcbnew/class_edge_mod.cpp
|
|
|
|
../pcbnew/class_equipot.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/class_marker.cpp
|
|
|
|
../pcbnew/class_mire.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
../pcbnew/class_module.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/class_pad.cpp
|
|
|
|
../pcbnew/class_pad_draw_functions.cpp
|
|
|
|
../pcbnew/class_pcb_text.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
../pcbnew/class_text_mod.cpp
|
|
|
|
../pcbnew/class_track.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/class_zone.cpp
|
|
|
|
../pcbnew/class_zone_setting.cpp
|
|
|
|
../pcbnew/classpcb.cpp
|
|
|
|
../pcbnew/collectors.cpp
|
|
|
|
../pcbnew/sel_layer.cpp
|
2009-04-05 20:49:15 +00:00
|
|
|
../pcbnew/tracemod.cpp
|
2009-02-05 20:53:08 +00:00
|
|
|
../pcbnew/dialog_print_using_printer_base.cpp
|
|
|
|
)
|
2007-11-08 07:17:37 +00:00
|
|
|
|
2009-04-05 20:49:15 +00:00
|
|
|
add_library(pcbcommon ${PCB_COMMON_SRCS})
|