diff options
Diffstat (limited to 'navit/po/CMakeLists.txt')
-rw-r--r-- | navit/po/CMakeLists.txt | 7 |
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 |