commit 06782542413c999ff35f7ee1f62b11f988cdfa0c
Author: Kornel Benko <[email protected]>
Date: Sun Jan 5 10:04:56 2014 +0100
Cmake build: Add targets to selectively create .gmo files
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index cdce457..5b0b46a 100755
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -174,6 +174,7 @@ foreach(_gmo_base ${INSTALLED_LANGUAGES})
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${_gmo}"
)
list(APPEND LYX_UPDATED_GMO_FILES "${LYX_DEST_PO}/${_gmo}")
+ ADD_CUSTOM_TARGET(update-${_gmo_base}-gmo DEPENDS "${LYX_DEST_PO}/${_gmo}")
endforeach()
set(LYX_UPDATED_PO_FILES)