2017-10-10 12:28:40 +03:00
|
|
|
set( APPLICATION_NAME "Nextcloud" )
|
|
|
|
set( APPLICATION_SHORTNAME "Nextcloud" )
|
|
|
|
set( APPLICATION_EXECUTABLE "nextcloud" )
|
|
|
|
set( APPLICATION_DOMAIN "nextcloud.com" )
|
|
|
|
set( APPLICATION_VENDOR "Nextcloud GmbH" )
|
2019-08-15 01:12:11 +03:00
|
|
|
set( APPLICATION_UPDATE_URL "https://updates.nextcloud.org/client/" CACHE STRING "URL for updater" )
|
|
|
|
set( APPLICATION_HELP_URL "" CACHE STRING "URL for the help menu" )
|
2017-10-10 12:28:40 +03:00
|
|
|
set( APPLICATION_ICON_NAME "Nextcloud" )
|
2019-08-15 01:12:11 +03:00
|
|
|
set( APPLICATION_SERVER_URL "" CACHE STRING "URL for the server to use. If entered the server can only connect to this instance" )
|
2019-09-30 10:45:41 +03:00
|
|
|
set( APPLICATION_REV_DOMAIN "com.nextcloud.desktopclient" )
|
2014-01-28 16:33:33 +04:00
|
|
|
|
2017-10-10 12:28:40 +03:00
|
|
|
set( LINUX_PACKAGE_SHORTNAME "nextcloud" )
|
2019-09-30 10:45:41 +03:00
|
|
|
set( LINUX_APPLICATION_ID "${APPLICATION_REV_DOMAIN}.${LINUX_PACKAGE_SHORTNAME}")
|
2017-09-22 11:29:17 +03:00
|
|
|
|
2017-10-10 12:28:40 +03:00
|
|
|
set( THEME_CLASS "NextcloudTheme" )
|
2013-01-09 19:29:50 +04:00
|
|
|
set( WIN_SETUP_BITMAP_PATH "${CMAKE_SOURCE_DIR}/admin/win/nsi" )
|
2014-12-03 16:37:15 +03:00
|
|
|
|
|
|
|
set( MAC_INSTALLER_BACKGROUND_FILE "${CMAKE_SOURCE_DIR}/admin/osx/installer-background.png" CACHE STRING "The MacOSX installer background image")
|
|
|
|
|
2013-01-09 19:29:50 +04:00
|
|
|
# set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" )
|
|
|
|
# set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt )
|
2014-08-28 14:05:00 +04:00
|
|
|
|
|
|
|
option( WITH_CRASHREPORTER "Build crashreporter" OFF )
|
2019-08-15 01:12:11 +03:00
|
|
|
#set( CRASHREPORTER_SUBMIT_URL "https://crash-reports.owncloud.com/submit" CACHE STRING "URL for crash reporter" )
|
2017-10-10 12:28:40 +03:00
|
|
|
#set( CRASHREPORTER_ICON ":/owncloud-icon.png" )
|
2018-06-21 18:04:47 +03:00
|
|
|
|
2020-03-09 03:48:07 +03:00
|
|
|
## Updater options
|
|
|
|
option( BUILD_UPDATER "Build updater" OFF )
|
|
|
|
|
2018-08-13 20:59:34 +03:00
|
|
|
option( WITH_PROVIDERS "Build with providers list" ON )
|
2019-01-31 12:25:44 +03:00
|
|
|
|
|
|
|
|
|
|
|
## Theming options
|
2019-08-15 01:12:11 +03:00
|
|
|
set( APPLICATION_WIZARD_HEADER_BACKGROUND_COLOR "#0082c9" CACHE STRING "Hex color of the wizard header background")
|
|
|
|
set( APPLICATION_WIZARD_HEADER_TITLE_COLOR "#ffffff" CACHE STRING "Hex color of the text in the wizard header")
|
2019-01-31 12:25:44 +03:00
|
|
|
option( APPLICATION_WIZARD_USE_CUSTOM_LOGO "Use the logo from ':/client/theme/colored/wizard_logo.png' else the default application icon is used" ON )
|
2019-01-31 13:03:51 +03:00
|
|
|
|
2020-08-18 19:12:29 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
## Windows Shell Extensions - IMPORTANT: Generate new GUIDs for custom builds with "guidgen" or "uuidgen"
|
|
|
|
#
|
|
|
|
|
|
|
|
# Context Menu
|
|
|
|
set( WIN_SHELLEXT_CONTEXT_MENU_GUID "{BC6988AB-ACE2-4B81-84DC-DC34F9B24401}" )
|
|
|
|
|
|
|
|
# Overlays
|
|
|
|
set( WIN_SHELLEXT_OVERLAY_GUID_ERROR "{E0342B74-7593-4C70-9D61-22F294AAFE05}" )
|
|
|
|
set( WIN_SHELLEXT_OVERLAY_GUID_OK "{E1094E94-BE93-4EA2-9639-8475C68F3886}" )
|
|
|
|
set( WIN_SHELLEXT_OVERLAY_GUID_OK_SHARED "{E243AD85-F71B-496B-B17E-B8091CBE93D2}" )
|
|
|
|
set( WIN_SHELLEXT_OVERLAY_GUID_SYNC "{E3D6DB20-1D83-4829-B5C9-941B31C0C35A}" )
|
|
|
|
set( WIN_SHELLEXT_OVERLAY_GUID_WARNING "{E4977F33-F93A-4A0A-9D3C-83DEA0EE8483}" )
|