mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-03 17:38:15 +00:00
70d6a12894
* CI: Port Windows build to Azure Pipelines from Appveyor * CI: Split Windows build into scripts * CI: Remove Appveyor * CI: Add GitHub Release deployment to Azure Windows Build * VCS: Add full branch name function to rpcs3_version The STRINGIZE macro was a little awkward, and difficult to control at configure time. Since other version information is already included, the full branch name is now added as a function. It's runtime instead of compile-time checking, but it seems worth it. * CI: Overhaul Windows setup script Previously, there was no way of forcing a re-download of cached dependencies when they were replaced by new ones. In addition, there was really no verification of downloads or cache. Now, changing a few lines at the top of the file will automagically force a cache update.
14 lines
311 B
C++
14 lines
311 B
C++
#pragma once
|
|
#include <string>
|
|
#include <cstdint>
|
|
#include <Utilities/version.h>
|
|
|
|
namespace rpcs3
|
|
{
|
|
std::string_view get_branch();
|
|
std::string_view get_full_branch();
|
|
std::pair<std::string, std::string> get_commit_and_hash();
|
|
const utils::version& get_version();
|
|
std::string get_version_and_branch();
|
|
}
|