01f2a3a9f2
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/; revision=595039
25 lines
722 B
CMake
25 lines
722 B
CMake
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kdecorations_LIB_SRCS
|
|
kdecoration.cpp
|
|
kdecoration_p.cpp
|
|
kdecoration_plugins_p.cpp
|
|
kdecorationfactory.cpp
|
|
kcommondecoration.cpp )
|
|
|
|
kde4_automoc(kdecorations ${kdecorations_LIB_SRCS})
|
|
|
|
kde4_add_library(kdecorations SHARED ${kdecorations_LIB_SRCS})
|
|
|
|
target_link_libraries(kdecorations ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY})
|
|
|
|
set_target_properties(kdecorations PROPERTIES VERSION 1.0.0 SOVERSION 1 )
|
|
install(TARGETS kdecorations DESTINATION ${LIB_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kdecoration.h kdecoration_p.h kdecoration_plugins_p.h kdecorationfactory.h kcommondecoration.h DESTINATION ${INCLUDE_INSTALL_DIR})
|