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
wilder
Laurent Montel 20 years ago committed by Aleix Pol
parent c4e0d8b5b6
commit d1c8ad7151
  1. 55
      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
Loading…
Cancel
Save