CMakeLists.txt   CMakeLists.txt 
SET(stellarium_DOMAIN stellarium) SET(stellarium_POT stellarium.pot)
SET(stellarium_POT ${stellarium_DOMAIN}.pot)
GETTEXT_CREATE_TRANSLATIONS(${stellarium_DOMAIN} DEFAULT_TARGET GETTEXT_CREATE_TRANSLATIONS(stellarium DEFAULT_TARGET
aa ab ae af ak am an ar as ast av az ba be bg bh bi bn bo br bs ca ce c aa ab ae af ak am an ar as ast av az ba be bg bh bi bn bo br bs ca ce c
kb cs cv cy da de dv el en en_AU en_CA en_GB en_US eo es et eu fa fi fil fj kb cs csb cv cy da de dv el en en_AU en_CA en_GB en_US eo es et eu fa fi fi
fr fy ga gd gl gn gu gv haw he hi hr hrx ht hu hy ia id is it ja ka kg kk l fj fr fy ga gd gl gn gu gv haw he hi hne hr hrx ht hu hy ia id is it ja k
kn ko ky la lb lo lt lv mi mk ml mn mo mr ms mt nan nb nl nn oc os pa pl pt a kg kk km kn ko ky la lb lo lt lv mai mi mk ml mn mo mr ms mt nan nb ne nd
pt_BR ro ru sah sco se si sk sl sm sq sr su sv sw ta te tg th tl tr tt uk s nl nn oc os pa pl pt pt_BR ro ru sah sco se si sk sl sm sq sr su sv sw ta
uz vi zh_CN zh_HK zh_TW zu te tg th tl tr tt ug uk uz vi wa xh zh_CN zh_HK zh_TW zu
) )
ADD_CUSTOM_TARGET( # Discard this target if xgettext is not installed
generate-pot-${stellarium_DOMAIN} IF(${XGETTEXT_FOUND})
${GETTEXT_XGETTEXT_EXECUTABLE} ADD_CUSTOM_TARGET(
-o ${CMAKE_CURRENT_SOURCE_DIR}/${stellarium_POT} generate-pot-stellarium
-C ${GETTEXT_XGETTEXT_EXECUTABLE}
--qt -o ${CMAKE_CURRENT_SOURCE_DIR}/stellarium.pot
--keyword=_ -C
--keyword=N_ --qt
--keyword=q_ --keyword=_
--keyword=qc_:1,2c --keyword=N_
--keyword=translate:2 --keyword=q_
--keyword=translate:2,3c --keyword=qc_:1,2c
--add-comments=TRANSLATORS: --keyword=translate:2
--directory=${CMAKE_BINARY_DIR} --keyword=translate:2,3c
--directory=${CMAKE_SOURCE_DIR} --add-comments=TRANSLATORS:
--output-dir=${CMAKE_BINARY_DIR} --directory=${CMAKE_BINARY_DIR}
--files-from=${CMAKE_CURRENT_SOURCE_DIR}/POTFILES.in --directory=${CMAKE_SOURCE_DIR}
--copyright-holder=Stellarium's\ team --output-dir=${CMAKE_BINARY_DIR}
--from-code=utf-8 --files-from=${CMAKE_CURRENT_SOURCE_DIR}/POTFILES.in
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} --copyright-holder=Stellarium's\ team
COMMENT "Generating ${stellarium_POT}" --from-code=utf-8
VERBATIM WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
) COMMENT "Generating stellarium.pot"
# TODO: It would be nice to just depend on the exact files in POTFILES.in VERBATIM
#file(READ ${CMAKE_CURRENT_SOURCE_DIR}/${stellarium_POT} UiHeaders) )
#ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} UiHeaders) # TODO: It would be nice to just depend on the exact files in POTFIL
#ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} stellarium_UIS_H) ES.in
# Make sure the UI headers are created first. #file(READ ${CMAKE_CURRENT_SOURCE_DIR}/stellarium.pot UiHeaders)
ADD_DEPENDENCIES(generate-pot-${stellarium_DOMAIN} StelGuiLib) #ADD_DEPENDENCIES(generate-pot-stellarium UiHeaders)
#ADD_DEPENDENCIES(generate-pot-stellarium stellarium_UIS_H)
# Make sure the UI headers are created first.
ADD_DEPENDENCIES(generate-pot-stellarium 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)
ENDIF()
 End of changes. 4 change blocks. 
38 lines changed or deleted 40 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/