[kde-common/cmake] tde_uic: copy ui.h extension to binary dir

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1231438 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
master
samelian 14 years ago
parent 18f876866d
commit dd95fc2925

@ -16,6 +16,12 @@ set( local_ui_file ${_ui_basename}.ui )
configure_file( ${UI_FILE} ${local_ui_file} COPYONLY )
execute_process( COMMAND tqt-replace ${local_ui_file} )
# ui.h extension file, if exists
if( EXISTS "${UI_FILE}.h" )
configure_file( ${UI_FILE}.h ${local_ui_file}.h COPYONLY )
execute_process( COMMAND tqt-replace ${local_ui_file}.h )
endif( )
execute_process( COMMAND ${UIC_EXECUTABLE}
-nounload -tr tr2i18n
${local_ui_file}

Loading…
Cancel
Save