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>
(cherry picked from commit fc457719cf)
r14.0.x
Slávek Banko 5 years ago
parent 9eb614248c
commit 25fc13ac37
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