1 add_executable(mthdcat mthdcat.cc)
2 target_link_libraries(mthdcat apt-pkg)
3 add_executable(testdeb testdeb.cc)
4 target_link_libraries(testdeb apt-pkg apt-inst)
5 add_executable(extract-control extract-control.cc)
6 target_link_libraries(extract-control apt-pkg apt-inst)
7 add_executable(aptwebserver aptwebserver.cc)
8 target_link_libraries(aptwebserver apt-pkg ${CMAKE_THREAD_LIBS_INIT})
9 add_executable(aptdropprivs aptdropprivs.cc)
10 target_link_libraries(aptdropprivs apt-pkg)
11 add_executable(test_fileutl test_fileutl.cc)
12 target_link_libraries(test_fileutl apt-pkg)
14 add_library(noprofile SHARED libnoprofile.c)
15 target_link_libraries(noprofile ${CMAKE_DL_LIBS})