summaryrefslogtreecommitdiff
path: root/navit/po
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-12-01 23:18:09 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-12-01 23:18:09 +0000
commitaa8c9e68b1d22cbe13e9c9320df0ea9ce37e5c9a (patch)
treec692f516a1e6d000eaa89bff151e63dfed33b4a9 /navit/po
parentbef1033937fb82ac96dcfd73da50561a5daf8298 (diff)
downloadnavit-aa8c9e68b1d22cbe13e9c9320df0ea9ce37e5c9a.tar.gz
Fix:Build:Fixed locale generation
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3745 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/po')
-rw-r--r--navit/po/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/po/CMakeLists.txt b/navit/po/CMakeLists.txt
index a5557d61d..a0f66b32c 100644
--- a/navit/po/CMakeLists.txt
+++ b/navit/po/CMakeLists.txt
@@ -11,6 +11,7 @@ set(POTFILES
${PROJECT_SOURCE_DIR}/navit/gui/gtk/gui_gtk_statusbar.c
${PROJECT_SOURCE_DIR}/navit/gui/internal/gui_internal.c
${CMAKE_CURRENT_BINARY_DIR}/navit_shipped.c
+ ${CMAKE_CURRENT_BINARY_DIR}/navit_shipped.glade
)
ADD_CUSTOM_COMMAND(
@@ -20,6 +21,12 @@ ADD_CUSTOM_COMMAND(
-P ${PROJECT_SOURCE_DIR}/cmake/navit_xml_parser.cmake
)
+ADD_CUSTOM_COMMAND(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/navit_shipped.glade
+ DEPENDS ${PROJECT_SOURCE_DIR}/navit/navit_shipped.xml
+ COMMAND ${CMAKE_COMMAND} -D SRC=${PROJECT_SOURCE_DIR}/navit/navit_shipped.xml -D DST=${CMAKE_CURRENT_BINARY_DIR}/navit_shipped.glade
+ -P ${PROJECT_SOURCE_DIR}/cmake/navit_xml_parser_glade.cmake
+)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/navit.po