Commit e21bd247 authored by Dick Hollenbeck's avatar Dick Hollenbeck

add new templates to template/CMakeLists.txt, group all templates into one installation COMPONENT

parent df810f74
...@@ -2,11 +2,17 @@ install(FILES kicad.pro ...@@ -2,11 +2,17 @@ install(FILES kicad.pro
DESTINATION ${KICAD_TEMPLATE} DESTINATION ${KICAD_TEMPLATE}
COMPONENT resources) COMPONENT resources)
set( Templates raspberrypi-gpio stm32f100-discovery-shield ) # template_lst is a list of all templates.
set( template_lst
raspberrypi-gpio
stm32f100-discovery-shield
ti-stellaris-boosterpack40
ti-stellaris-boosterpack40_min
)
foreach( Template ${Templates} ) foreach( tpl ${template_lst} )
install( DIRECTORY ${Template} install( DIRECTORY ${tpl}
DESTINATION ${KICAD_TEMPLATE} DESTINATION ${KICAD_TEMPLATE}
COMPONENT ${Template} ) COMPONENT templates )
endforeach(Template) endforeach()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment