a09387f0a3a0744235827002e37247721ad5bbb1
[platform/upstream/libsolv.git] / tools / CMakeLists.txt
1
2 SET(rpmdb2solv_REPOS
3   rpmdb2solv.c
4   repo_rpmdb.h
5   repo_rpmdb.c
6   repo_write.c
7 )
8
9 ADD_EXECUTABLE( rpmdb2solv ${rpmdb2solv_REPOS} )
10 TARGET_LINK_LIBRARIES( rpmdb2solv satsolver ${DB43_LIBRARY})
11
12 SET(rpmmd2solv_REPOS rpmmd2solv.c repo_rpmmd.h repo_rpmmd.c repo_write.c )
13 ADD_EXECUTABLE( rpmmd2solv ${rpmmd2solv_REPOS} )
14 TARGET_LINK_LIBRARIES( rpmmd2solv satsolver ${EXPAT_LIBRARY})
15
16 SET(helix2solv_REPOS helix2solv.c repo_helix.h repo_helix.c repo_write.c )
17 ADD_EXECUTABLE( helix2solv ${helix2solv_REPOS} )
18 TARGET_LINK_LIBRARIES( helix2solv satsolver ${EXPAT_LIBRARY})
19
20 SET(susetags2solv_REPOS susetags2solv.c repo_susetags.h repo_susetags.c repo_write.c)
21 ADD_EXECUTABLE( susetags2solv ${susetags2solv_REPOS} )
22 TARGET_LINK_LIBRARIES( susetags2solv satsolver)
23
24 SET(patchxml2solv_REPOS patchxml2solv.c repo_patchxml.h repo_patchxml.c repo_write.c)
25 ADD_EXECUTABLE( patchxml2solv ${patchxml2solv_REPOS} )
26 TARGET_LINK_LIBRARIES( patchxml2solv satsolver ${EXPAT_LIBRARY})
27
28
29 SET(content2solv_REPOS
30   content2solv.c
31   repo_content.h
32   repo_content.c
33   repo_write.c)
34 ADD_EXECUTABLE( content2solv ${content2solv_REPOS} )
35 TARGET_LINK_LIBRARIES( content2solv satsolver)
36
37
38 SET(dumpsolv_REPOS dumpsolv.c)
39 ADD_EXECUTABLE( dumpsolv ${dumpsolv_REPOS} )
40 TARGET_LINK_LIBRARIES( dumpsolv satsolver)
41
42 SET(mergesolv_REPOS mergesolv.c repo_write.c)
43 ADD_EXECUTABLE( mergesolv ${mergesolv_REPOS} )
44 TARGET_LINK_LIBRARIES( mergesolv satsolver)