vcpkg/toolsrc/include/vcpkg_GlobalState.h

19 lines
397 B
C++

#pragma once
#include <atomic>
#include "vcpkg_Chrono.h"
#include "vcpkg_Util.h"
namespace vcpkg
{
struct GlobalState
{
static Util::LockGuarded<ElapsedTime> timer;
static std::atomic<bool> debugging;
static std::atomic<bool> feature_packages;
static std::atomic<int> g_init_console_cp;
static std::atomic<int> g_init_console_output_cp;
};
}