diff options
author | Stephan Kulow <coolo@kde.org> | 2006-05-03 19:41:44 +0000 |
---|---|---|
committer | Stephan Kulow <coolo@kde.org> | 2006-05-03 19:41:44 +0000 |
commit | d1c21115c194859e484c2cba410adae1cbcb06b1 (patch) | |
tree | e1a5b34539f02dce6338306e79998aba6f1bb1db | |
parent | cbad9fd217b1afa224fa9dc073739ad008d80384 (diff) | |
download | extra-cmake-modules-d1c21115c194859e484c2cba410adae1cbcb06b1.tar.gz extra-cmake-modules-d1c21115c194859e484c2cba410adae1cbcb06b1.tar.bz2 |
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
-rw-r--r-- | modules/KDE4Macros.cmake | 4 |
1 files changed, 0 insertions, 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) |