ADD_SUBDIRECTORY( devel EXCLUDE_FROM_ALL )
ADD_SUBDIRECTORY( tools )
#ADD_SUBDIRECTORY( examples )
-#ADD_SUBDIRECTORY( testsuite )
+ADD_SUBDIRECTORY( testsuite )
#ADD_SUBDIRECTORY( po )
#ADD_SUBDIRECTORY( doc )
-ADD_SUBDIRECTORY( src )
-ADD_SUBDIRECTORY( zypp )
-ADD_SUBDIRECTORY( cache )
-ADD_SUBDIRECTORY( target )
-ADD_SUBDIRECTORY( solver )
-ADD_SUBDIRECTORY( source )
-ADD_SUBDIRECTORY( media )
-ADD_SUBDIRECTORY( parser )
-
-INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
-
-
-########### install files ###############
-
+INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
-
-
-#original Makefile.am contents follow:
-
-##
-## Makefile.am for libzypp/testsuite
-##
-#SUBDIRS = src zypp cache target solver source media parser
+#ADD_SUBDIRECTORY( src )
+#ADD_SUBDIRECTORY( zypp )
+ADD_SUBDIRECTORY( cache )
+#ADD_SUBDIRECTORY( target )
+#ADD_SUBDIRECTORY( solver )
+#ADD_SUBDIRECTORY( source )
+#ADD_SUBDIRECTORY( media )
+#ADD_SUBDIRECTORY( parser )
-INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
-
-
-########### next target ###############
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
SET(SourceCacheInitializer_SRCS
SourceCacheInitializer.cc
)
-KDE3_AUTOMOC(${SourceCacheInitializer_SRCS})
-
-IF(KDE3_BUILD_TESTS)
-
-KDE3_ADD_EXECUTABLE(SourceCacheInitializer ${SourceCacheInitializer_SRCS})
-
-TARGET_LINK_LIBRARIES(SourceCacheInitializer ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
-
-ENDIF(KDE3_BUILD_TESTS)
-
-########### install files ###############
-
-
-
-
-#original Makefile.am contents follow:
-
-### Process this file with automake to produce Makefile.in
-### ##################################################
-#
-## Do NOT list devel.* in subdirs. It's developers playgound and
-## must not prevent anything from building.
-#SUBDIRS =
-#
-### ##################################################
-#
-#TESTS = SourceCacheInitializer
-#
-#check_PROGRAMS = SourceCacheInitializer
-#
-### ##################################################
-#
-#LDADD = $(top_srcdir)/zypp/lib@PACKAGE@.la $(top_srcdir)/zypp2/lib@PACKAGE@2.la
-#
-### ##################################################
-#
-#SourceCacheInitializer_SOURCES = SourceCacheInitializer.cc
-#SourceCacheInitializer_LDADD = $(LDADD) -lboost_unit_test_framework
-#
-### ##################################################
-#
-#.PHONY: always
-#
-#$(noinst_PROGRAMS): $(top_srcdir)/zypp/lib@PACKAGE@.la
-#
-##$(top_srcdir)/zypp/lib@PACKAGE@.la: always
-## $(MAKE) -C $(top_srcdir)/zypp
-#
-### ##################################################
+ADD_EXECUTABLE(SourceCacheInitializer ${SourceCacheInitializer_SRCS})
+TARGET_LINK_LIBRARIES(SourceCacheInitializer boost_unit_test_framework )
+TARGET_LINK_LIBRARIES(SourceCacheInitializer zypp2 )
+TARGET_LINK_LIBRARIES(SourceCacheInitializer zypp )
########### next target ###############
-SET(LazzyText_SRCS
-LazzyText.cc
+SET(Lazy_SRCS
+Lazy.cc
)
-KDE3_AUTOMOC(${LazzyText_SRCS})
+KDE3_AUTOMOC(${Lazy_SRCS})
IF(KDE3_BUILD_TESTS)
-KDE3_ADD_EXECUTABLE(LazzyText ${LazzyText_SRCS})
+KDE3_ADD_EXECUTABLE(Lazy ${Lazy_SRCS})
-TARGET_LINK_LIBRARIES(LazzyText ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
+TARGET_LINK_LIBRARIES(Lazy ${QT_AND_KDECORE_LIBS} boost_unit_test_framework )
ENDIF(KDE3_BUILD_TESTS)
# Digest \
# Signature \
# KeyRing \
-# LazzyText
+# Lazy
#
#check_PROGRAMS = Arch Url \
# RWPtr \
# Digest \
# Signature \
# KeyRing \
-# LazzyText
+# Lazy
#
### ##################################################
#
#KeyRing_SOURCES = KeyRing.cc
#KeyRing_LDADD = $(LDADD) -lboost_unit_test_framework
#
-#LazzyText_SOURCES = LazzyText.cc
-#LazzyText_LDADD = $(LDADD) $(top_srcdir)/zypp2/lib@PACKAGE@2.la -lboost_unit_test_framework
+#Lazy_SOURCES = Lazy.cc
+#Lazy_LDADD = $(LDADD) $(top_srcdir)/zypp2/lib@PACKAGE@2.la -lboost_unit_test_framework
#
### ##################################################
#
zypp-query-pool.cc
)
-ADD_EXECUTABLE( querypool ${querypool_SRC} )
-TARGET_LINK_LIBRARIES( querypool zypp )
+ADD_EXECUTABLE( zypp-querypool ${querypool_SRC} )
+TARGET_LINK_LIBRARIES( zypp-querypool zypp )
+TARGET_LINK_LIBRARIES( zypp-querypool xml2 )
\ No newline at end of file
TargetCallbackReceiver.cc
TargetException.cc
CommitLog.cc
+CommitPackageCache.cc
+CommitPackageCacheImpl.cc
+CommitPackageCacheReadAhead.cc
)
ADD_LIBRARY(zypp_target STATIC ${zypp_target_SRCS})
TargetCallbackReceiver.h
TargetException.h
TargetImpl.h
+CommitPackageCache.h
+CommitPackageCacheReadAhead.h
DESTINATION
${CMAKE_INSTALL_PREFIX}/include/zypp/target
)
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
SET(zypp2_SRCS
-LazzyText.cc
+Lazy.cc
)
SET_SOURCE_FILES_PROPERTIES(${zypp2_SRCS} PROPERTIES COMPILE_FLAGS -DZYPP_BASE_LOGGER_LOGGROUP=\\\"zypp\\\")