KMail: Delete a separate rule for processing the kcfg file.

The tde_add_kcfg_files macro already properly defines the header file
as the output file, so there is no need for separate rules for
processing the kcfg file.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/41/head
Slávek Banko 5 years ago
parent bed1481363
commit fc457719cf
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -129,24 +129,6 @@ install( FILES
DESTINATION ${DATA_INSTALL_DIR}/kmail/plugins/bodypartformatter )
##### helper ####################################
macro( process_kcfg _who _out _path _kcfg _kcfgc )
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/${_path}/${_out}
COMMAND
mkdir -p ${CMAKE_BINARY_DIR}/${_path}
COMMAND ${KDE3_KCFGC_EXECUTABLE}
-d ${CMAKE_BINARY_DIR}/${_path}
${CMAKE_SOURCE_DIR}/${_path}/${_kcfg}
${CMAKE_SOURCE_DIR}/${_path}/${_kcfgc}
DEPENDS
${CMAKE_SOURCE_DIR}/${_path}/${_kcfg}
${CMAKE_SOURCE_DIR}/${_path}/${_kcfgc} )
set_property( SOURCE ${_who} APPEND
PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/${_path}/${_out} )
endmacro()
##### kmailprivate (shared) #####################
set( target kmailprivate )
@ -206,9 +188,6 @@ set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
tde_add_dcop_skels( ${target}_SRCS kmailIface.h kmailicalIface.h )
tde_restore( KDE3_DCOPIDL_EXECUTABLE )
process_kcfg( globalsettings.h globalsettings_base.h kmail
kmail.kcfg globalsettings_base.kcfgc )
add_custom_target( kmail_settings_base
DEPENDS
${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h

Loading…
Cancel
Save