From d1c8ad715170750f9aa0769e4cbd7eeda28153c7 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 28 Feb 2006 08:01:15 +0000 Subject: Add module to compile kdebase with kdelibs-cmake. BE CARREFULL: Don't try to compile it for the moment (in progress) Don't use kdelibs trunk for compile it (there is not again test to disable compile when we compile with kdelibs trunk) For the moment there was a lot of missing test etc. I commit it just to allow to lose my changes if there is a pb on my HD. I will sync cmake from kdelibs trunk to kdelibs-snapshot. I hope to fix compile today or tomorrow. CCMAIL: neundorf@kde.org For the futur we must sync kdelibs/cmake/* to kdelibs-snapshot to compile all the time with kdelibs-snapshot svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=514380 --- src/kreadconfig/CMakeLists.txt | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/kreadconfig/CMakeLists.txt (limited to 'src') diff --git a/src/kreadconfig/CMakeLists.txt b/src/kreadconfig/CMakeLists.txt new file mode 100644 index 00000000..cad0a0e0 --- /dev/null +++ b/src/kreadconfig/CMakeLists.txt @@ -0,0 +1,55 @@ +kde4_header() + +include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) + + +########### next target ############### + +set(kreadconfig_SRCS kreadconfig.cpp ) + +kde4_automoc(${kreadconfig_SRCS}) + +kde4_add_executable(kreadconfig ${kreadconfig_SRCS}) + +target_link_libraries(kreadconfig ${QT_AND_KDECORE_LIBS} kdeui ) + +install_targets(/bin kreadconfig ) + + +########### next target ############### + +set(kwriteconfig_SRCS kwriteconfig.cpp ) + +kde4_automoc(${kwriteconfig_SRCS}) + +kde4_add_executable(kwriteconfig ${kwriteconfig_SRCS}) + +target_link_libraries(kwriteconfig ${QT_AND_KDECORE_LIBS} ) + +install_targets(/bin kwriteconfig ) + + +########### install files ############### + + +kde4_footer() + + + +#original Makefile.am contents follow: + +#AM_CPPFLAGS = -DQT_NO_CAST_ASCII +# +#INCLUDES = $(all_includes) +#AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) +#LDADD = $(LIB_KDECORE) +#KDE_CXXFLAGS = -UQT3_SUPPORT +# +#bin_PROGRAMS = kreadconfig kwriteconfig +#kreadconfig_SOURCES = kreadconfig.cpp +#kwriteconfig_SOURCES = kwriteconfig.cpp +# +#### TODO: why do we need 2 POT files for one directory? +#messages: +# $(XGETTEXT) kreadconfig.cpp -o $(podir)/kreadconfig.pot +# $(XGETTEXT) kwriteconfig.cpp -o $(podir)/kwriteconfig.pot -- cgit v1.2.1