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/plasma/lib/; revision=595039
This commit is contained in:
parent
bf8eee7e6e
commit
11ce1795b3
@ -10,7 +10,7 @@ set(plasma_LIB_SRCS
|
|||||||
appletLayout.cpp
|
appletLayout.cpp
|
||||||
appletCompositor.cpp )
|
appletCompositor.cpp )
|
||||||
|
|
||||||
kde4_automoc(${plasma_LIB_SRCS})
|
kde4_automoc(plasma ${plasma_LIB_SRCS})
|
||||||
|
|
||||||
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
|
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/plasma/lib )
|
|||||||
|
|
||||||
set(testAppletInfo_SRCS testAppletInfo.cpp )
|
set(testAppletInfo_SRCS testAppletInfo.cpp )
|
||||||
|
|
||||||
kde4_automoc(${testAppletInfo_SRCS})
|
kde4_automoc(testAppletInfo ${testAppletInfo_SRCS})
|
||||||
|
|
||||||
kde4_add_executable(testAppletInfo ${testAppletInfo_SRCS})
|
kde4_add_executable(testAppletInfo ${testAppletInfo_SRCS})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user