DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
BundledToolchain.h File Reference

Namespaces

namespace  DekiEditor

Functions

std::string DekiEditor::BundledToolchainDir ()
 Absolute path to <executable dir>/toolchain (toolchain/mingw64 on Windows), whether or not it exists.
bool DekiEditor::HasBundledToolchain ()
 True if a bundled toolchain is present (its bin/ directory exists).
bool DekiEditor::PathListHasDir (const std::string &pathList, const std::string &dir)
 Whether dir is one of the ;-separated entries of pathList, ignoring case, slash direction and a trailing slash, as Windows does.
void DekiEditor::PrepareToolchainPath ()
 Windows: puts ToolchainBinDir() at the front of this process's PATH unless it is on PATH already.
std::string DekiEditor::ProjectCCompiler ()
std::string DekiEditor::ProjectCxxCompiler ()
 The C++ and C compilers to build projects with: the bundled toolchain's, otherwise the compiler this editor was built with.
std::string DekiEditor::ResolveTool (const std::string &name)
 Returns the bundled copy of a tool when there is one; else name unchanged for PATH lookup when it is on PATH; else its full path in the toolchain folder (ToolchainBinDir) when it is there; else name.
std::string DekiEditor::ToolchainBinDir ()
 Windows: the folder of the GNU toolchain projects are built with - the bundled toolchain's bin/, else the folder of the compiler this editor was built with, else the first standard MSYS2 / MinGW folder that has g++.