9 + add_custom_command(OUTPUT ${SCOPE_CONFIG_FILES} COMMAND ${INTLTOOL_MERGE_BIN} -d ${CMAKE_CURRENT_SOURCE_DIR}/../po ${configfile}.in ${configfile} APPEND)
Shouldn't the OUTPUT be ${configfile} here? It will still be picked up by the custom target, if I understand the docs correctly, and would remove the need to use APPEND.
215 + add_custom_command(OUTPUT ${GENERATED_HEADERS} COMMAND ${INTLTOOL_EXTRACT_BIN} --type=gettext/ini --local ${inifile} APPEND)
Same would apply here.
Other than that, it looks good.
« Back to merge proposal
9 + add_custom_ command( OUTPUT ${SCOPE_ CONFIG_ FILES} COMMAND ${INTLTOOL_ MERGE_BIN} -d ${CMAKE_ CURRENT_ SOURCE_ DIR}/.. /po ${configfile}.in ${configfile} APPEND)
Shouldn't the OUTPUT be ${configfile} here? It will still be picked up by the custom target, if I understand the docs correctly, and would remove the need to use APPEND.
215 + add_custom_ command( OUTPUT ${GENERATED_ HEADERS} COMMAND ${INTLTOOL_ EXTRACT_ BIN} --type=gettext/ini --local ${inifile} APPEND)
Same would apply here.
Other than that, it looks good.