2020-04-03 23:22:24 +00:00
|
|
|
|
|
|
|
# Sources for the pcbnew PLUGIN called ALTIUM_DESIGNER_PLUGIN, ALTIUM_CIRCUIT_STUDIO_PLUGIN and ALTIUM_CIRCUIT_MAKER_PLUGIN
|
|
|
|
|
|
|
|
set( ALTIUM2PCBNEW_SRCS
|
|
|
|
altium_circuit_maker_plugin.cpp
|
|
|
|
altium_circuit_studio_plugin.cpp
|
|
|
|
altium_designer_plugin.cpp
|
|
|
|
altium_pcb.cpp
|
|
|
|
altium_parser_pcb.cpp
|
|
|
|
)
|
|
|
|
|
2020-08-23 19:01:08 +00:00
|
|
|
add_library( altium2pcbnew STATIC ${ALTIUM2PCBNEW_SRCS} )
|
2020-04-03 23:22:24 +00:00
|
|
|
|
2020-08-23 19:01:08 +00:00
|
|
|
add_dependencies( altium2pcbnew compoundfilereader )
|
2020-04-03 23:22:24 +00:00
|
|
|
|
2020-08-23 19:01:08 +00:00
|
|
|
target_link_libraries( altium2pcbnew pcbcommon )
|
2020-04-03 23:22:24 +00:00
|
|
|
|
2020-08-23 19:01:08 +00:00
|
|
|
target_include_directories( altium2pcbnew PUBLIC
|
2020-04-03 23:22:24 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
$<TARGET_PROPERTY:compoundfilereader,INTERFACE_INCLUDE_DIRECTORIES>
|
|
|
|
)
|