mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
ce71ffe9f9
APPLICATION_SERVER_URL can be either empty or be specified. This commit adds the new CMake option APPLICATION_SERVER_URL_ENFORCE to decide whether to enforce the URL's unmodified use (like before, default: ON) or to allow modification by the user (new). By default APPLICATION_SERVER_URL_ENFORCE is set to ON, to no break with the previous implementation's expectations. If APPLICATION_SERVER_URL is empty, APPLICATION_SERVER_URL_ENFORCE will be ignored by the Account Wizard. The previous behaviour confused me a bit with branded builds. When the URL was (usually) specified but not forced, it was simply discarded, forcing the user to manually supply it. Signed-off-by: Michael Schuster <michael@schuster.ms>
35 lines
1.5 KiB
C
35 lines
1.5 KiB
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
#cmakedefine USE_INOTIFY 1
|
|
#cmakedefine WITH_QTKEYCHAIN 1
|
|
#cmakedefine WITH_CRASHREPORTER
|
|
#cmakedefine WITH_PROVIDERS "@WITH_PROVIDERS@"
|
|
#cmakedefine CRASHREPORTER_EXECUTABLE "@CRASHREPORTER_EXECUTABLE@"
|
|
#define SOCKETAPI_TEAM_IDENTIFIER_PREFIX "@SOCKETAPI_TEAM_IDENTIFIER_PREFIX@"
|
|
|
|
#cmakedefine THEME_CLASS @THEME_CLASS@
|
|
#cmakedefine THEME_INCLUDE @THEME_INCLUDE@
|
|
|
|
#cmakedefine APPLICATION_NAME "@APPLICATION_NAME@"
|
|
#cmakedefine APPLICATION_VENDOR "@APPLICATION_VENDOR@"
|
|
#cmakedefine APPLICATION_DOMAIN "@APPLICATION_DOMAIN@"
|
|
#cmakedefine APPLICATION_REV_DOMAIN "@APPLICATION_REV_DOMAIN@"
|
|
#cmakedefine APPLICATION_SHORTNAME "@APPLICATION_SHORTNAME@"
|
|
#cmakedefine APPLICATION_EXECUTABLE "@APPLICATION_EXECUTABLE@"
|
|
#cmakedefine APPLICATION_UPDATE_URL "@APPLICATION_UPDATE_URL@"
|
|
#cmakedefine APPLICATION_HELP_URL "@APPLICATION_HELP_URL@"
|
|
#cmakedefine APPLICATION_ICON_NAME "@APPLICATION_ICON_NAME@"
|
|
#cmakedefine APPLICATION_SERVER_URL "@APPLICATION_SERVER_URL@"
|
|
#cmakedefine APPLICATION_SERVER_URL_ENFORCE "@APPLICATION_SERVER_URL_ENFORCE@"
|
|
#cmakedefine LINUX_APPLICATION_ID "@LINUX_APPLICATION_ID@"
|
|
#cmakedefine APPLICATION_WIZARD_HEADER_BACKGROUND_COLOR "@APPLICATION_WIZARD_HEADER_BACKGROUND_COLOR@"
|
|
#cmakedefine APPLICATION_WIZARD_HEADER_TITLE_COLOR "@APPLICATION_WIZARD_HEADER_TITLE_COLOR@"
|
|
#cmakedefine APPLICATION_WIZARD_USE_CUSTOM_LOGO "@APPLICATION_WIZARD_USE_CUSTOM_LOGO@"
|
|
|
|
#cmakedefine ZLIB_FOUND @ZLIB_FOUND@
|
|
|
|
#cmakedefine SYSCONFDIR "@SYSCONFDIR@"
|
|
#cmakedefine SHAREDIR "@SHAREDIR@"
|
|
|
|
#endif
|