File: CMakeLists.txt

package info (click to toggle)
kicad 5.0.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 234,592 kB
  • sloc: cpp: 505,330; ansic: 57,038; python: 4,886; sh: 879; awk: 294; makefile: 253; xml: 103; perl: 5
file content (35 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Part of the KiCad ASCIIDOC Documentation Project
#
# (c)2015 KiCad Developers
# (c)2015 Brian Sidebotham <brian.sidebotham@gmail.com>
#

add_custom_target( updatepo_all )

file( GLOB ALLPO RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/*/po/*.po )

foreach( PO ${ALLPO} )
    string( REGEX REPLACE ".*/+po/+([a-z][a-z]).po" "\\1" LANG "${PO}" )
    list( APPEND LANGS "${LANG}" )
endforeach()

list( REMOVE_DUPLICATES LANGS )
list( SORT LANGS )

foreach( LANG ${LANGS} )
    add_custom_target( updatepo_${LANG} )
endforeach()

add_subdirectory( cvpcb )
add_subdirectory( eeschema )
add_subdirectory( gerbview )
add_subdirectory( getting_started_in_kicad )
add_subdirectory( idf_exporter )
add_subdirectory( kicad )
add_subdirectory( pcbnew )
add_subdirectory( plugins )
add_subdirectory( pl_editor )
add_subdirectory( gui_translation_howto )