Commit 702ae5dd authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed debug output

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fcc66183
......@@ -464,8 +464,6 @@ endfunction ()
#generates qt translations
function (acg_add_translations _target _languages _sources)
message(STATUS "Sources: ${_sources}")
string (TOUPPER ${_target} _TARGET)
# generate/use translation files
# run with UPDATE_TRANSLATIONS set to on to build qm files
......@@ -483,23 +481,16 @@ function (acg_add_translations _target _languages _sources)
endforeach ()
message(STATUS "New TS: ${_new_ts_files}")
set (_qm_files)
if ( _new_ts_files )
qt4_create_translation(_qm_files ${_sources} ${_new_ts_files})
endif ()
message(STATUS "ts: ${_ts_files}")
if ( _ts_files )
message(STATUS "Da")
qt4_add_translation(_qm_files2 ${_ts_files})
list (APPEND _qm_files ${_qm_files2})
endif ()
message(STATUS "QM: ${_qm_files}")
# create a target for the translation files ( and object files )
# Use this target, to update only the translations
add_custom_target (translations_target_${_target} DEPENDS ${_qm_files})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment