27 lines
716 B
CMake
27 lines
716 B
CMake
|
|
# 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_parser_pcb.cpp
|
|
altium_pcb.cpp
|
|
altium_rule_transformer.cpp
|
|
solidworks_pcb_plugin.cpp
|
|
)
|
|
|
|
add_library( altium2pcbnew STATIC ${ALTIUM2PCBNEW_SRCS} )
|
|
|
|
target_link_libraries( altium2pcbnew
|
|
pcbcommon
|
|
compoundfilereader )
|
|
|
|
target_include_directories( altium2pcbnew
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR} )
|
|
|
|
target_include_directories( altium2pcbnew PRIVATE
|
|
$<TARGET_PROPERTY:magic_enum,INTERFACE_INCLUDE_DIRECTORIES>
|
|
)
|