SET(BIN_INSTALL_DIR bin)
SET(DATA_INSTALL_DIR share/gplcver)
SET(DOC_INSTALL_DIR doc/gplcver/vcddiff)
SET(MAN_INSTALL_DIR man/man1)

LINK_LIBRARIES(m)

SET(vcddiff_sources src/vcddiff.c)

ADD_EXECUTABLE(vcddiff ${vcddiff_sources})

INSTALL(FILES "Changelog" "README.vcddiff" "src/README" DESTINATION ${DOC_INSTALL_DIR})
INSTALL(DIRECTORY "examples.vcddiff" DESTINATION ${DOC_INSTALL_DIR})
INSTALL(TARGETS vcddiff DESTINATION ${BIN_INSTALL_DIR})

