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

Classes

struct  DekiEditor::CMakeGen::ExecutableCMakeOptions
 What a build backend chooses for a game built as one ordinary executable. More...
struct  DekiEditor::CMakeGen::ExecutableLibrary
 A third-party library the executable links, as CMake text the backend writes: the backend resolved it (a prebuilt archive, a source checkout), so only it knows how it is found. More...

Namespaces

namespace  DekiEditor
namespace  DekiEditor::CMakeGen
 Generates the CMake projects for builds, from the installed packages and the platform.

Functions

std::vector< std::string > DekiEditor::CMakeGen::AddRequiredPackageDefines (const std::string &projectPath, const PlatformConfig &config, const std::vector< std::string > &packageDefines, std::vector< std::string > &missing)
 The build defines with the buildDefine of every package the platform's requiresPackages names added, so a board's own layer (its display and input) is built in whether or not a scene names it.
bool DekiEditor::CMakeGen::GenerateExecutableCMakeLists (const std::string &projectPath, const std::string &buildDir, const PlatformConfig &config, const std::vector< std::string > &packageDefines, const ExecutableCMakeOptions &options, std::string &error)
 Writes <buildDir>/CMakeLists.txt and its deki_package_init.gen.cpp for config, with WriteIfChanged, so an unchanged build is not reconfigured.