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
BuildLoad.h File Reference

Namespaces

namespace  DekiEditor

Functions

std::string DekiEditor::AtBuildPriority (const std::string &shellLine)
 A shell line run at build priority where the process cannot be lowered before it starts (popen): nice -n 10 /bin/sh -c '<line>', with the job count of WithBuildJobs.
int DekiEditor::BuildJobCount ()
 How many compile jobs a build starting now should run: one per core, but no more than free memory holds, and at least one.
unsigned long DekiEditor::BuildPriorityFlag ()
 Windows process creation flag for a build: below-normal priority, which the processes it starts inherit.
void DekiEditor::LowerBuildPriority ()
 Lowers the calling process's priority.
void DekiEditor::PrepareBuildJobs ()
 Windows: sets CMAKE_BUILD_PARALLEL_LEVEL (cmake –build) and IDF_PY_BUILD_JOBS (idf.py) to BuildJobCount() for the processes this one starts next.
std::string DekiEditor::WithBuildJobs (const std::string &shellLine)
 A shell line that runs with the job count of PrepareBuildJobs: export CMAKE_BUILD_PARALLEL_LEVEL=<n> IDF_PY_BUILD_JOBS=<n>; <line>, leaving out a variable the user set.