set(CPACK_PACKAGE_NAME "directory-watcher")
set(CPACK_GENERATOR TGZ;ZIP)
set(CPACK_PACKAGE_VENDOR "Nikita Provotorov")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Application for directory files list monitoring")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_PACKAGE_VERSION_BUILD ${BUILD_NUMBER})
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}_${CMAKE_CXX_COMPILER_ID}-${CMAKE_CXX_COMPILER_VERSION}")

if (CMAKE_VS_PLATFORM_NAME)
    set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}_${CMAKE_VS_PLATFORM_NAME}")
endif ()

set(CPACK_OUTPUT_FILE_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/bin/packages")
#
# Include CPack to introduce the appropriate targets
include(CPack)
