2013-05-26 04:36:44 +00:00
|
|
|
|
2013-08-20 18:03:21 +00:00
|
|
|
# Sources for the pcbnew PLUGIN called PCAD_PLUGIN
|
|
|
|
|
|
|
|
# This CMakeLists.txt is included from pcbnew, so we are inheriting its include_directories(),
|
2013-05-26 04:36:44 +00:00
|
|
|
|
2013-08-20 18:03:21 +00:00
|
|
|
set( PCAD2PCBNEW_SRCS
|
2013-05-26 04:36:44 +00:00
|
|
|
pcad2kicad_common.cpp
|
|
|
|
pcad_plugin.cpp
|
2023-03-30 11:49:23 +00:00
|
|
|
pcad_pcb.cpp
|
|
|
|
pcad_arc.cpp
|
|
|
|
pcad_pcb_component.cpp
|
2023-04-01 20:05:58 +00:00
|
|
|
pcad_copper_pour.cpp
|
|
|
|
pcad_cutout.cpp
|
|
|
|
pcad_keepout.cpp
|
2023-03-30 11:49:23 +00:00
|
|
|
pcad_line.cpp
|
|
|
|
pcad_footprint.cpp
|
2023-04-01 20:05:58 +00:00
|
|
|
pcad_nets.cpp
|
2023-03-30 11:49:23 +00:00
|
|
|
pcad_pad.cpp
|
|
|
|
pcad_pad_shape.cpp
|
2023-04-01 20:05:58 +00:00
|
|
|
pcad_plane.cpp
|
2023-03-30 11:49:23 +00:00
|
|
|
pcad_polygon.cpp
|
|
|
|
pcad_text.cpp
|
|
|
|
pcad_via.cpp
|
|
|
|
pcad_via_shape.cpp
|
2013-05-26 04:36:44 +00:00
|
|
|
s_expr_loader.cpp
|
|
|
|
)
|
|
|
|
|
2013-08-20 18:03:21 +00:00
|
|
|
add_library( pcad2kicadpcb STATIC ${PCAD2PCBNEW_SRCS} )
|
2019-01-23 15:58:16 +00:00
|
|
|
|
|
|
|
target_link_libraries( pcad2kicadpcb pcbcommon )
|
2021-06-04 00:28:40 +00:00
|
|
|
|
|
|
|
# Make all headers be prefixed by pcad/ to differentiate them
|
|
|
|
target_include_directories( pcad2kicadpcb PRIVATE
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/../" )
|