diff options
author | Laurent Montel <montel@kde.org> | 2006-02-28 08:01:15 +0000 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2014-04-26 14:11:13 +0200 |
commit | d1c8ad715170750f9aa0769e4cbd7eeda28153c7 (patch) | |
tree | e0048222a596c8785dbe75835d16454d277f8dae /src | |
parent | c4e0d8b5b663714060b831024ea2e0e18940c0f2 (diff) | |
download | kconfig-d1c8ad715170750f9aa0769e4cbd7eeda28153c7.tar.gz kconfig-d1c8ad715170750f9aa0769e4cbd7eeda28153c7.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/kreadconfig/CMakeLists.txt | 55 |
1 files changed, 55 insertions, 0 deletions
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 |