mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-12 18:17:53 +08:00
23 lines
529 B
C++
23 lines
529 B
C++
#pragma once
|
|
|
|
#include <vcpkg/base/chrono.h>
|
|
#include <vcpkg/base/util.h>
|
|
|
|
#include <atomic>
|
|
|
|
namespace vcpkg
|
|
{
|
|
struct GlobalState
|
|
{
|
|
static Util::LockGuarded<Chrono::ElapsedTimer> timer;
|
|
static Util::LockGuarded<std::string> g_surveydate;
|
|
|
|
static std::atomic<bool> debugging;
|
|
static std::atomic<bool> feature_packages;
|
|
static std::atomic<bool> g_binary_caching;
|
|
|
|
static std::atomic<int> g_init_console_cp;
|
|
static std::atomic<int> g_init_console_output_cp;
|
|
};
|
|
}
|