describe changes
[platform/upstream/libsolv.git] / tools / CMakeLists.txt
index 4803110..32cd3af 100644 (file)
@@ -1,3 +1,11 @@
+#
+# CMakeLists.txt for sat-solver/tools
+#
+
+ENABLE_TESTING()
+
+ADD_SUBDIRECTORY(tests)
+
 SET(rpmdb2solv_REPOS
   rpmdb2solv.c
   repo_rpmdb.h
@@ -29,6 +37,18 @@ SET(patchxml2solv_REPOS patchxml2solv.c repo_patchxml.h repo_patchxml.c repo_wri
 ADD_EXECUTABLE( patchxml2solv ${patchxml2solv_REPOS} )
 TARGET_LINK_LIBRARIES( patchxml2solv satsolver ${EXPAT_LIBRARY})
 
+SET(updateinfoxml2solv_REPOS updateinfoxml2solv.c repo_updateinfoxml.h repo_updateinfoxml.c repo_write.c common_write.c)
+ADD_EXECUTABLE( updateinfoxml2solv ${updateinfoxml2solv_REPOS} )
+TARGET_LINK_LIBRARIES( updateinfoxml2solv satsolver ${EXPAT_LIBRARY})
+
+SET(deltainfoxml2solv_REPOS deltainfoxml2solv.c repo_deltainfoxml.h repo_deltainfoxml.c repo_write.c common_write.c)
+ADD_EXECUTABLE( deltainfoxml2solv ${deltainfoxml2solv_REPOS} )
+TARGET_LINK_LIBRARIES( deltainfoxml2solv satsolver ${EXPAT_LIBRARY})
+
+SET(repomdxml2solv_REPOS repomdxml2solv.c repo_repomdxml.h repo_repomdxml.c repo_write.c common_write.c)
+ADD_EXECUTABLE( repomdxml2solv ${repomdxml2solv_REPOS} )
+TARGET_LINK_LIBRARIES( repomdxml2solv satsolver ${EXPAT_LIBRARY})
+
 
 SET(dumpsolv_REPOS dumpsolv.c)
 ADD_EXECUTABLE( dumpsolv ${dumpsolv_REPOS} )
@@ -47,6 +67,8 @@ install(TARGETS
                 rpmmd2solv 
                 rpmdb2solv
                 rpms2solv
+                updateinfoxml2solv
+                deltainfoxml2solv
    DESTINATION ${BIN_INSTALL_DIR} )
 
 install(PROGRAMS repo2solv.sh DESTINATION ${BIN_INSTALL_DIR} )