File: MacroProcessPoFiles.cmake

package info (click to toggle)
kradio4 4.0.8%2Bgit20170124-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,964 kB
  • ctags: 5,073
  • sloc: cpp: 34,810; perl: 156; sh: 112; xml: 102; makefile: 18
file content (6 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
macro(process_po_files)
    if(GETTEXT_MSGFMT_EXECUTABLE)
        file(GLOB _poFiles ${CMAKE_CURRENT_SOURCE_DIR}/*.po)
        gettext_create_translations("${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pot" ALL ${_poFiles})
    endif()
endmacro()