rez
|
#include <filesystem>
#include <optional>
#include <string>
Go to the source code of this file.
Classes | |
struct | rez::Config |
Config parameterizes rez builds. More... | |
Namespaces | |
rez | |
rez manages C++ tasks. | |
Enumerations | |
enum | rez::Lang { rez::Lang::Cpp, rez::Lang::C } |
Lang denotes a programming language. More... | |
Functions | |
std::ostream & | rez::operator<< (std::ostream &os, const Lang &o) |
<< formats a Lang to an ostream. More... | |
std::filesystem::path | rez::ApplyBinaryExtension (const std::filesystem::path &basename, bool windows) |
ApplyBinaryExtension applies OS-appropriate file extensions to binaries. More... | |
std::optional< std::string > | rez::GetEnvironmentVariable (const std::string &key) |
GetEnvironmentVariable retrieves environment variables. More... | |
bool | rez::DetectWindowsEnvironment () |
DetectWindowsEnvironment determines whether the runtime environment is (COMSPEC) Windows. More... | |
std::ostream & | rez::operator<< (std::ostream &os, const Config &o) |
<< formats a Config to an ostream. More... | |
Variables | |
constexpr char | rez::Version [] { "0.0.11" } |
Version is semver. More... | |
constexpr char | rez::TaskDefinitionCpp [] { "rez.cpp" } |
TaskDefinitionCpp denotes the path to a C++ task definition source file. More... | |
constexpr char | rez::TaskDefinitionC [] { "rez.c" } |
TaskDefinitionC denotes the path to a C task definition source file. More... | |
constexpr char | rez::CacheDir [] { ".rez" } |
CacheDir denotes the path to the rez internal cache directory. More... | |
constexpr char | rez::CacheFileBasename [] { "rez-env.txt" } |
CacheFileBasename denotes the basename of the internal rez cache file. More... | |
constexpr char | rez::ArtifactDirBasename [] { "bin" } |
ArtifactDirBaename denotes the path insode of CacheDir where artifacts are housed. More... | |
constexpr char | rez::ArtifactFileBasenameUnix [] { "delegate-rez" } |
ArtifactFileBasenameUnix denotes the basename of user task binaries generated by UNIX compilers. More... | |
constexpr char | rez::DefaultCompilerWindows [] { "cl" } |
DefaultCompilerWindows denotes the standard Microsoft Visual C++ (MSVC) compiler executable basename. More... | |
constexpr char | rez::DefaultCompilerUnixCpp [] { "c++" } |
DefaultCompilerUnixCpp denotes the standard UNIX C++ compiler executable basename. More... | |
constexpr char | rez::DefaultCompilerUnixC [] { "cc" } |
DefaultCompilerUnixC denotes the standard UNIX C compiler executable basename. More... | |
constexpr char | rez::DefaultMSVCToolchainQueryScript [] { R"(C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat)" } |
DefaultMSVCToolchainQueryScript denotes the standard script which prepares environment variables for executing MSVC cl commands. More... | |
constexpr char | rez::ArchitectureMsvcAmd64 [] { "x64" } |
ArchitectureMsvcAmd64 denotes the amd64 architecture in MSVC nomenclature. More... | |