diff options
author | Michaël Larouche <larouche@kde.org> | 2006-07-20 02:09:18 +0000 |
---|---|---|
committer | Michaël Larouche <larouche@kde.org> | 2006-07-20 02:09:18 +0000 |
commit | 2eaf439c2bde323073ff500ea3aad340013d2baa (patch) | |
tree | 5b612b7f0f756ad7dec2db7c95141ecc3b594be8 /modules/FindKDE4Internal.cmake | |
parent | 873e779682f1a3f7d45657c88c7a33acbb9126aa (diff) | |
download | extra-cmake-modules-2eaf439c2bde323073ff500ea3aad340013d2baa.tar.gz extra-cmake-modules-2eaf439c2bde323073ff500ea3aad340013d2baa.tar.bz2 |
Finally commit my change to kde4_add_kcfg_files.
Added GENERATE_MOC option to kde4_add_kcfg_files. Since only
1%(and I would even say 0.1%) of kcfg files need moc, I added that
keyword to generate_moc explictly.
Should speed up a little bit the build for kcfg which doesn't need moc.
svn path=/trunk/KDE/kdelibs/; revision=564385
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r-- | modules/FindKDE4Internal.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 7f1e2117..8416917c 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -101,8 +101,9 @@ # KDE4_ADD_UI3_FILES (SRCS_VAR file1.ui ... fileN.ui) # Use this to add Qt designer ui files from Qt version 3 to your application/library. # -# KDE4_ADD_KCFG_FILES (SRCS_VAR file1.kcfgc ... fileN.kcfgc) +# KDE4_ADD_KCFG_FILES (SRCS_VAR [GENERATE_MOC] file1.kcfgc ... fileN.kcfgc) # Use this to add KDE config compiler files to your application/library. +# Use optional GENERATE_MOC to generate moc if you use signals in your kcfg files. # # KDE4_ADD_WIDGET_FILES (SRCS_VAR file1.widgets ... fileN.widgets) # Use this to add widget description files for the makekdewidgets code generator |