From d1c21115c194859e484c2cba410adae1cbcb06b1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 3 May 2006 19:41:44 +0000 Subject: there is no single kcfg file in our SVN that needs signals. So don't create tons of invalid .moc files. For someone with more experience it would be cool to generate a flag as soon as there is a .kcfg file needing it svn path=/trunk/KDE/kdelibs/; revision=537048 --- modules/KDE4Macros.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 4db3809a..5b899963 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -109,7 +109,6 @@ macro (KDE4_ADD_KCFG_FILES _sources) string(REGEX REPLACE "^(.*\n)?File=([^\n]+kcfg).*\n.*$" "\\2" _kcfg_FILE "${_contents}") set(_src_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) set(_header_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h) - set(_moc_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc) # the command for creating the source file from the kcfg file add_custom_command(OUTPUT ${_header_FILE} ${_src_FILE} @@ -118,9 +117,6 @@ macro (KDE4_ADD_KCFG_FILES _sources) MAIN_DEPENDENCY ${_tmp_FILE} DEPENDS ${_abs_PATH}/${_kcfg_FILE} ${_KDE4_KCONFIG_COMPILER_DEP} ) - QT4_GENERATE_MOC(${_header_FILE} ${_moc_FILE} ) - MACRO_ADD_FILE_DEPENDENCIES(${_src_FILE} ${_moc_FILE} ) - set(${_sources} ${${_sources}} ${_src_FILE} ${_header_FILE}) endforeach (_current_FILE) -- cgit v1.2.1