|
|
@ -389,23 +389,37 @@ endif() |
|
|
|
if (WIN32) |
|
|
|
# packaging stuff |
|
|
|
include(InstallRequiredSystemLibraries) |
|
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "ethereum") |
|
|
|
set(CPACK_PACKAGE_NAME "Ethereum") |
|
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Ethereum") |
|
|
|
set(CPACK_PACKAGE_VENDOR "ethereum.org") |
|
|
|
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 "0.7") |
|
|
|
set(CPACK_PACKAGE_VERSION "0.9") |
|
|
|
set(CPACK_GENERATOR "NSIS") |
|
|
|
# seems to be not working |
|
|
|
# set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/alethzero/alethzero.bmp") |
|
|
|
|
|
|
|
# our stuff |
|
|
|
set(CPACK_COMPONENT_ALETHZERO_GROUP "Applications") |
|
|
|
set(CPACK_COMPONENT_THIRD_GROUP "Applications") |
|
|
|
set(CPACK_COMPONENT_MIX_GROUP "Applications") |
|
|
|
set(CPACK_COMPONENTS_ALL alethzero third mix) |
|
|
|
set(CPACK_COMPONENT_SOLC_GROUP "CLI") |
|
|
|
set(CPACK_COMPONENT_ETH_GROUP "CLI") |
|
|
|
set(CPACK_COMPONENT_ETHMINER_GROUP "CLI") |
|
|
|
set(CPACK_COMPONENT_RLP_GROUP "CLI") |
|
|
|
set(CPACK_COMPONENT_ABI_GROUP "CLI") |
|
|
|
|
|
|
|
set(CPACK_COMPONENTS_ALL alethzero mix solc eth ethminer rlp abi) |
|
|
|
|
|
|
|
# nsis specific stuff |
|
|
|
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ethereum") |
|
|
|
if (CMAKE_CL_64) |
|
|
|
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64") |
|
|
|
set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION} (Win64)") |
|
|
|
else () |
|
|
|
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES") |
|
|
|
set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}") |
|
|
|
endif() |
|
|
|
|
|
|
|
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} Ethereum") |
|
|
|
set(CPACK_NSIS_HELP_LINK "https://github.com/ethereum/cpp-ethereum") |
|
|
|
set(CPACK_NSIS_URL_INFO_ABOUT "https://github.com/ethereum/cpp-ethereum") |
|
|
|
set(CPACK_NSIS_CONTACT "ethereum.org") |
|
|
|