INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../lib
  ${CMAKE_CURRENT_BINARY_DIR}/..)

ADD_EXECUTABLE(zipcmp zipcmp.c)
TARGET_LINK_LIBRARIES(zipcmp zip)

ADD_EXECUTABLE(zipmerge zipmerge.c)
TARGET_LINK_LIBRARIES(zipmerge zip)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../lib
  ${CMAKE_CURRENT_BINARY_DIR}/..)

ADD_EXECUTABLE(zipcmp zipcmp.c)
TARGET_LINK_LIBRARIES(zipcmp zip)
INSTALL(TARGETS zipcmp RUNTIME DESTINATION bin)

ADD_EXECUTABLE(zipmerge zipmerge.c)
TARGET_LINK_LIBRARIES(zipmerge zip)
INSTALL(TARGETS zipmerge RUNTIME DESTINATION bin)

ADD_EXECUTABLE(ziptorrent ziptorrent.c)
TARGET_LINK_LIBRARIES(ziptorrent zip)
INSTALL(TARGETS ziptorrent RUNTIME DESTINATION bin)

Install binaries, and build and install ziptorrent.
Install binaries, and build and install ziptorrent.
