summaryrefslogtreecommitdiffstats
path: root/kmail
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-13 19:12:59 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-13 19:15:46 +0200
commit25fc13ac37e8b38211a71b6b0e87bd9196afbfbe (patch)
treec918e050f1467e4fab1bd5baf8888dd8867f2468 /kmail
parent9eb614248ceff1364e941fd2d457dc5b34b86e3f (diff)
downloadtdepim-25fc13ac37e8b38211a71b6b0e87bd9196afbfbe.tar.gz
tdepim-25fc13ac37e8b38211a71b6b0e87bd9196afbfbe.zip
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 fc457719cf1d468ee1b9ed856e2b092469824a32)
Diffstat (limited to 'kmail')
-rw-r--r--kmail/CMakeLists.txt21
1 files changed, 0 insertions, 21 deletions
diff --git a/kmail/CMakeLists.txt b/kmail/CMakeLists.txt
index e3022d55c..ac30ce669 100644
--- a/kmail/CMakeLists.txt
+++ b/kmail/CMakeLists.txt
@@ -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