2 # Creating the .pot file to be translated.
4 ADD_CUSTOM_TARGET( zypp.pot
5 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/createPot ${LIBZYPP_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/zypp.pot
7 SET_DIRECTORY_PROPERTIES( PROPERTIES
8 ADDITIONAL_MAKE_CLEAN_FILES zypp.pot
12 # Provides the 'translations' target that creates the .gmo files
13 # out of the pofiles provided by zypp-po.tar.bz2.
14 # Use USE_TRANSLATION_SET to use an alternate set provided by
15 # ${USE_TRANSLATION_SET}-po.tar.bz2
17 GETTEXT_CREATE_TARBALL_TRANSLATIONS( "zypp" )