[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/cmake@1231438 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
pull/1/head
samelian 14 years ago
parent b5c2dd898d
commit 2354904fd2

@ -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