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
14 lines
330 B
CMake
14 lines
330 B
CMake
include_directories( ${CMAKE_SOURCE_DIR}/workspace/plasma/lib )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(testAppletInfo_SRCS testAppletInfo.cpp )
|
|
|
|
kde4_automoc(testAppletInfo ${testAppletInfo_SRCS})
|
|
|
|
kde4_add_executable(testAppletInfo ${testAppletInfo_SRCS})
|
|
|
|
target_link_libraries(testAppletInfo ${KDE4_KDECORE_LIBS} )
|
|
|