~pete-woods/cmake-extras/drop-deprecated-macros-lp1563573

« back to all changes in this revision

Viewing changes to examples/intltool-demo/po/CMakeLists.txt

  • Committer: Bileto Bot
  • Author(s): Rodney Dawes
  • Date: 2017-02-28 17:46:31 UTC
  • mfrom: (63.2.16 fix-intltool-merge)
  • Revision ID: ci-train-bot@canonical.com-20170228174631-xd5i7cosklh74r3i
Handle other style options for merging, and no translations for xml style. (LP: #1664325)

Approved by: Charles Kerr, Pete Woods

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
find_package(Intltool REQUIRED)
2
 
 
3
1
intltool_update_potfile(
4
2
    ALL
5
3
    KEYWORDS "_" "_:1,2" "N_" "N_:1,2"
6
4
    POTFILES_TEMPLATE "POTFILES.in.in"
7
5
    GETTEXT_PACKAGE ${GETTEXT_PACKAGE}
8
6
    COPYRIGHT_HOLDER "Foocorp Ltd."
 
7
    FILE_GLOBS "${CMAKE_SOURCE_DIR}/*.gschema.xml.in" "${CMAKE_SOURCE_DIR}/*.ini.in" "${CMAKE_SOURCE_DIR}/*.cpp" "${CMAKE_SOURCE_DIR}/*.h" "${CMAKE_SOURCE_DIR}/*.c"
9
8
    FILTER ".*test.*"
10
9
)
11
10