Necessary to change KDE4_AUTOMOC macro to support enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc 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 and tested 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)

Regards

svn path=/trunk/KDE/kdebase/workspace/kcontrol/locale/; revision=595039
wilder
Laurent Montel 20 years ago committed by Aleix Pol
parent a6a272c375
commit a5d21a1242
  1. 4
      src/kreadconfig/CMakeLists.txt

@ -7,7 +7,7 @@ project(kreadconfig)
set(kreadconfig_SRCS kreadconfig.cpp )
kde4_automoc(${kreadconfig_SRCS})
kde4_automoc(kreadconfig ${kreadconfig_SRCS})
kde4_add_executable(kreadconfig ${kreadconfig_SRCS})
@ -20,7 +20,7 @@ install(TARGETS kreadconfig DESTINATION ${BIN_INSTALL_DIR})
set(kwriteconfig_SRCS kwriteconfig.cpp )
kde4_automoc(${kwriteconfig_SRCS})
kde4_automoc(kwriteconfig ${kwriteconfig_SRCS})
kde4_add_executable(kwriteconfig ${kwriteconfig_SRCS})

Loading…
Cancel
Save