2014-12-03 04:58:23 +08:00
|
|
|
#####
|
|
|
|
# Contains variables and settings used
|
2014-12-03 05:12:31 +08:00
|
|
|
# by the CMake build system in order to
|
2014-12-03 04:58:23 +08:00
|
|
|
# build binary installers.
|
|
|
|
#####
|
|
|
|
|
|
|
|
|
|
|
|
###
|
2014-12-03 05:12:31 +08:00
|
|
|
# Set options specific to the
|
2014-12-03 04:58:23 +08:00
|
|
|
# Nullsoft Installation System (NSIS)
|
|
|
|
###
|
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
SET(CPACK_NSIS_MODIFY_PATH ON)
|
2014-12-05 03:42:55 +08:00
|
|
|
SET(CPACK_NSIS_DISPLAY_NAME "NetCDF ${netCDF_VERSION}")
|
|
|
|
SET(CPACK_NSIS_PACKAGE_NAME "NetCDF ${netCDF_VERSION}")
|
2014-12-03 04:58:23 +08:00
|
|
|
SET(CPACK_NSIS_HELP_LINK "http://www.unidata.ucar.edu/netcdf")
|
2014-12-05 03:42:55 +08:00
|
|
|
SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.unidata.ucar.edu/netcdf")
|
|
|
|
SET(CPACK_NSIS_CONTACT "support-netcdf@unidata.ucar.edu")
|
2014-12-03 04:58:23 +08:00
|
|
|
SET(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
|
2014-12-05 03:52:47 +08:00
|
|
|
SET(CPACK_NSIS_MENU_LINKS
|
|
|
|
"http://www.unidata.ucar.edu/netcdf" "Unidata Website"
|
|
|
|
"http://www.unidata.ucar.edu/netcdf/docs" "NetCDF Stable Documentation"
|
|
|
|
"http://www.unidata.ucar.edu/netcdf/docs_rc" "NetCDF Unstable Documentation")
|
|
|
|
|
2014-12-03 04:58:23 +08:00
|
|
|
ENDIF()
|
|
|
|
|
2014-12-03 05:12:31 +08:00
|
|
|
INCLUDE(CPack)
|