mirror of
https://github.com/lubosz/overte.git
synced 2025-04-06 01:02:29 +02:00
53 lines
1.7 KiB
C
53 lines
1.7 KiB
C
//
|
|
// BuildInfo.h.in
|
|
// cmake/templates
|
|
//
|
|
// Created by Stephen Birarda on 1/14/16.
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
// Copyright 2021 Vircadia contributors.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#define USE_STABLE_GLOBAL_SERVICES @USE_STABLE_GLOBAL_SERVICES@
|
|
|
|
#include <QString>
|
|
|
|
namespace BuildInfo {
|
|
// WARNING: This file has been auto-generated.
|
|
// Check cmake/templates/BuildInfo.h.in if you want to modify it.
|
|
|
|
const QString INTERFACE_NAME = "Interface";
|
|
const QString ASSIGNMENT_CLIENT_NAME = "assignment-client";
|
|
const QString DOMAIN_SERVER_NAME = "domain-server";
|
|
const QString AC_CLIENT_SERVER_NAME = "ac-client";
|
|
const QString MODIFIED_ORGANIZATION = "@BUILD_ORGANIZATION@";
|
|
const QString ORGANIZATION_DOMAIN = "overte.org";
|
|
const QString VERSION = "@BUILD_VERSION@";
|
|
const QString RELEASE_NAME = "@RELEASE_NAME@";
|
|
const QString BUILD_NUMBER = "@BUILD_NUMBER@";
|
|
const QString BUILD_GLOBAL_SERVICES = "@BUILD_GLOBAL_SERVICES@";
|
|
const QString BUILD_TIME = "@BUILD_TIME@";
|
|
const QString PRELOADED_STARTUP_LOCATION = "@PRELOADED_STARTUP_LOCATION@";
|
|
const QString PRELOADED_SCRIPT_WHITELIST = "@PRELOADED_SCRIPT_WHITELIST@";
|
|
|
|
enum BuildType {
|
|
Dev,
|
|
PR,
|
|
Master,
|
|
Stable
|
|
};
|
|
|
|
#if defined(PR_BUILD)
|
|
const BuildType BUILD_TYPE = PR;
|
|
const QString BUILD_TYPE_STRING = "pr";
|
|
#elif defined(PRODUCTION_BUILD)
|
|
const BuildType BUILD_TYPE = @STABLE_BUILD@ ? Stable : Master;
|
|
const QString BUILD_TYPE_STRING = @STABLE_BUILD@ ? "stable" : "master";
|
|
#else
|
|
const BuildType BUILD_TYPE = Dev;
|
|
const QString BUILD_TYPE_STRING = "dev";
|
|
#endif
|
|
|
|
}
|