Finality Engine
Loading...
Searching...
No Matches
FI::Build Namespace Reference

Classes

struct  Toolchain
 Installed compiler, SDK and build tool matching an engine's recorded ABI inputs. More...

Typedefs

using Options = std::map<std::string, std::string>
 Parsed command-line switches; paths are encoded as UTF-8.

Functions

std::string Read (const fs::path &path)
void Write (const fs::path &path, const std::string &text)
std::string Text (const fs::path &path)
fs::path Path (const std::string &text)
std::string Hash (const std::string &bytes)
std::string HeaderHash (const fs::path &engine)
std::string Run (const std::vector< std::string > &args, const fs::path &cwd)
 Run an argument vector without a shell and capture output; throw on failure.
std::string Json (const YAML::Node &node)
std::string Xml (std::string text)
bool Inside (const fs::path &path, const fs::path &parent)
std::string Name (std::string text)
Toolchain FindToolchain (const fs::path &engine, const fs::path &bin, const std::string &config)
void GenerateIDE (const fs::path &root, const fs::path &engine, const fs::path &bin, const fs::path &source, const std::string &name, const std::string &config, const Toolchain &tools)
void Native (const Options &options)
void BuildInfo (const Options &options)
void Dependencies (const Options &options)

Typedef Documentation

◆ Options

using FI::Build::Options = std::map<std::string, std::string>

Parsed command-line switches; paths are encoded as UTF-8.

Definition at line 15 of file BuildSupport.h.

Function Documentation

◆ Read()

std::string FI::Build::Read ( const fs::path & path)

◆ Write()

void FI::Build::Write ( const fs::path & path,
const std::string & text )

◆ Text()

std::string FI::Build::Text ( const fs::path & path)

◆ Path()

fs::path FI::Build::Path ( const std::string & text)

◆ Hash()

std::string FI::Build::Hash ( const std::string & bytes)

◆ HeaderHash()

std::string FI::Build::HeaderHash ( const fs::path & engine)

◆ Run()

std::string FI::Build::Run ( const std::vector< std::string > & args,
const fs::path & cwd )

Run an argument vector without a shell and capture output; throw on failure.

◆ Json()

std::string FI::Build::Json ( const YAML::Node & node)

◆ Xml()

std::string FI::Build::Xml ( std::string text)

◆ Inside()

bool FI::Build::Inside ( const fs::path & path,
const fs::path & parent )

◆ Name()

std::string FI::Build::Name ( std::string text)

◆ FindToolchain()

Toolchain FI::Build::FindToolchain ( const fs::path & engine,
const fs::path & bin,
const std::string & config )

◆ GenerateIDE()

void FI::Build::GenerateIDE ( const fs::path & root,
const fs::path & engine,
const fs::path & bin,
const fs::path & source,
const std::string & name,
const std::string & config,
const Toolchain & tools )

◆ Native()

void FI::Build::Native ( const Options & options)

◆ BuildInfo()

void FI::Build::BuildInfo ( const Options & options)

◆ Dependencies()

void FI::Build::Dependencies ( const Options & options)