diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-13 19:12:59 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-13 19:12:59 +0200 |
commit | fc457719cf1d468ee1b9ed856e2b092469824a32 (patch) | |
tree | f5c721b4d9251644532f83165fc8d333bfb6431b /kmail | |
parent | bed14813630725da2338568811909566c4f7707e (diff) | |
download | tdepim-fc457719cf1d468ee1b9ed856e2b092469824a32.tar.gz tdepim-fc457719cf1d468ee1b9ed856e2b092469824a32.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>
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/CMakeLists.txt | 21 |
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 |