Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.0 KiB
C++
Raw Permalink Normal View History

// Copyright 2008 Dolphin Emulator Project
2015-05-18 01:08:10 +02:00
// Licensed under GPLv2+
// Refer to the license.txt file included.
2010-07-08 15:44:39 +00:00
#include "Common/Version.h"
#include <string>
2016-06-25 23:30:32 -04:00
#include "Common/scmrev.h"
2010-07-08 15:44:39 +00:00
namespace Common
{
2010-07-08 15:44:39 +00:00
#ifdef _DEBUG
#define BUILD_TYPE_STR "Debug "
2010-07-08 15:44:39 +00:00
#elif defined DEBUGFAST
#define BUILD_TYPE_STR "DebugFast "
2010-07-08 15:44:39 +00:00
#else
#define BUILD_TYPE_STR ""
#endif
2016-05-04 23:47:23 +02:00
const std::string scm_rev_str = "Dolphin "
#if !SCM_IS_MASTER
"[" SCM_BRANCH_STR "] "
#endif
#ifdef __INTEL_COMPILER
BUILD_TYPE_STR SCM_DESC_STR "-ICC";
#else
BUILD_TYPE_STR SCM_DESC_STR;
#endif
2010-07-08 15:44:39 +00:00
const std::string scm_rev_git_str = SCM_REV_STR;
const std::string scm_desc_str = SCM_DESC_STR;
const std::string scm_branch_str = SCM_BRANCH_STR;
const std::string scm_distributor_str = SCM_DISTRIBUTOR_STR;
2010-07-08 15:44:39 +00:00
#ifdef _WIN32
2016-05-04 23:47:23 +02:00
const std::string netplay_dolphin_ver = SCM_DESC_STR " Win";
2010-07-08 15:44:39 +00:00
#elif __APPLE__
2016-05-04 23:47:23 +02:00
const std::string netplay_dolphin_ver = SCM_DESC_STR " Mac";
2010-07-08 15:44:39 +00:00
#else
const std::string netplay_dolphin_ver = SCM_DESC_STR " Lin";
2010-07-08 15:44:39 +00:00
#endif
} // namespace Common