CMakeLists.txt   CMakeLists.txt 
SET(stellarium_DOMAIN stellarium) SET(stellarium_DOMAIN stellarium)
SET(stellarium_POT ${stellarium_DOMAIN}.pot) SET(stellarium_POT ${stellarium_DOMAIN}.pot)
GETTEXT_CREATE_TRANSLATIONS(${stellarium_DOMAIN} DEFAULT_TARGET GETTEXT_CREATE_TRANSLATIONS(${stellarium_DOMAIN} DEFAULT_TARGET
af ar az be bg bn bs ca cs cy da de el en_AU en_CA en_GB en eo es et eu fa fil fi fr fy ga gl haw he hr hu hy ia id is it ja ka kn ko lt lv mk ml ms mt nan nb nl nn pl pt_BR pt ro ru se sk sl sq sr sv te th tl tr uk vi zh _CN zh_HK zh_TW af ar az be bg bn br bs ca cs cy da de el en_AU en_CA en_GB en eo es et eu fa fil fi fr fy ga gl haw he hr hu hy ia id is it ja ka kn ko lt lv mk ml mr ms mt nb nl nn pl pt_BR pt ro ru se si sk sl sq sr sv te th tl tr uk vi zh_CN zh_HK zh_TW
) )
ADD_CUSTOM_TARGET( ADD_CUSTOM_TARGET(
generate-pot-${stellarium_DOMAIN} generate-pot-${stellarium_DOMAIN}
${GETTEXT_XGETTEXT_EXECUTABLE} ${GETTEXT_XGETTEXT_EXECUTABLE}
-o ${stellarium_POT} -o ${CMAKE_CURRENT_SOURCE_DIR}/${stellarium_POT}
-C -C
--qt --qt
--keyword=_ --keyword=_
--keyword=N_ --keyword=N_
--keyword=q_ --keyword=q_
--keyword=translate:2 --keyword=translate:2
--add-comments=TRANSLATORS: --add-comments=TRANSLATORS:
--directory=${PROJECT_SOURCE_DIR}
--directory=${CMAKE_BINARY_DIR} --directory=${CMAKE_BINARY_DIR}
--files-from=POTFILES.in --directory=${CMAKE_SOURCE_DIR}
--output-dir=${CMAKE_BINARY_DIR}
--files-from=${CMAKE_CURRENT_SOURCE_DIR}/POTFILES.in
--copyright-holder=Stellarium's\ team --copyright-holder=Stellarium's\ team
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Generating ${stellarium_POT}" COMMENT "Generating ${stellarium_POT}"
VERBATIM VERBATIM
) )
# TODO: It would be nice to just depend on the exact files in POTFILES.in
#file(READ ${CMAKE_CURRENT_SOURCE_DIR}/${stellarium_POT} UiHeaders)
#ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} UiHeaders)
#ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} stellarium_UIS_H)
# Make sure the UI headers are created first. # Make sure the UI headers are created first.
ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} GenerateUiHeaders) ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} StelGuiLib)
# Generate this POT file when building the "generate-pot" target. # Generate this POT file when building the "generate-pot" target.
ADD_DEPENDENCIES(generate-pot generate-pot-${stellarium_DOMAIN}) ADD_DEPENDENCIES(generate-pot generate-pot-${stellarium_DOMAIN})
 End of changes. 7 change blocks. 
7 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/