Necessary to modify KDE4_ADD_KCFG_FILES to support ENABLE_FINAL

(there was not a dependancy between <name>_final.cpp file and
kcfg file => kfg files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)
(I didn't test all compile for the moment I will fix all compile today (without enable-final argument)
kdelibs/kdepimlibs/kdebase/kdeutils compiles fine)

svn path=/trunk/playground/graphics/okular/; revision=595199
remotes/origin/KDE/4.0
Laurent Montel 20 years ago
parent 9f317e53ca
commit 8c4c673073
  1. 2
      CMakeLists.txt
  2. 2
      generators/ghostview/CMakeLists.txt

@ -56,7 +56,7 @@ kde4_add_ui_files(okularcore_SRCS
core/chooseenginewidget.ui
)
kde4_add_kcfg_files(okularcore_SRCS conf/settings.kcfgc )
kde4_add_kcfg_files(okularcore okularcore_SRCS conf/settings.kcfgc )
kde4_automoc(okularcore ${okularcore_SRCS})

@ -39,7 +39,7 @@ kde4_add_ui_files(okularGenerator_ghostview_SRCS
conf/gssettingswidget.ui
)
kde4_add_kcfg_files(okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
kde4_add_kcfg_files(okularGenerator_ghostview okularGenerator_ghostview_SRCS conf/gssettings.kcfgc )
kde4_automoc(okularGenerator_ghostview ${okularGenerator_ghostview_SRCS})

Loading…
Cancel
Save