mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
9ca8971e1a
(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) Regards svn path=/trunk/KDE/kdebase/konqueror/; revision=595170
57 lines
1.6 KiB
CMake
57 lines
1.6 KiB
CMake
|
|
add_subdirectory( pics )
|
|
include_directories( ${CMAKE_SOURCE_DIR}/libkonq )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kcm_useraccount_PART_SRCS chfnprocess.cpp main.cpp chfacedlg.cpp )
|
|
|
|
kde4_automoc(kcm_useraccount ${kcm_useraccount_PART_SRCS})
|
|
|
|
kde4_add_ui_files(kcm_useraccount_PART_SRCS main_widget.ui )
|
|
|
|
kde4_add_kcfg_files(kcm_useraccount kcm_useraccount_PART_SRCS settings.kcfgc pass.kcfgc )
|
|
|
|
kde4_add_plugin(kcm_useraccount ${kcm_useraccount_PART_SRCS})
|
|
|
|
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_useraccount )
|
|
|
|
target_link_libraries(kcm_useraccount konq ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KDESU_LIBS} )
|
|
|
|
install(TARGETS kcm_useraccount DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kcm_useraccount.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
install( FILES kcm_useraccount.kcfg kcm_useraccount_pass.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#SUBDIRS = pics
|
|
#kde_module_LTLIBRARIES = kcm_useraccount.la
|
|
#kcm_useraccount_la_SOURCES = main_widget.ui chfnprocess.cpp \
|
|
# main.cpp chfacedlg.cpp settings.kcfgc pass.kcfgc
|
|
#kcm_useraccount_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
|
|
#kcm_useraccount_la_LIBADD = $(top_builddir)/libkonq/libkonq.la
|
|
#
|
|
#AM_CPPFLAGS = -I$(top_srcdir)/libkonq $(all_includes)
|
|
#
|
|
#kde_kcfg_DATA = kcm_useraccount.kcfg kcm_useraccount_pass.kcfg
|
|
#
|
|
#METASOURCES = AUTO
|
|
#
|
|
#noinst_HEADERS = main.h chfnprocess.h chfacedlg.h
|
|
#
|
|
#xdg_apps_DATA = kcm_useraccount.desktop
|
|
#
|
|
#
|
|
#messages: rc.cpp
|
|
# $(XGETTEXT) *.cpp -o $(podir)/useraccount.pot
|
|
#KDE_ICON=AUTO
|