XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.
Status: Built. Reference: the engine.
CMakeLists.txt, the logic in modules in scripts/cmake/ (assets, dependencies, executables, options, output, platform, targets, tests, deploy_libraries). Rejected: a CMakeLists.txt per folder.FORCE_LOCAL_<NAME> forces a fetch. One macro, xge_dependency(), does the finding, status line and fetch for every library (it was written out twelve times before). Qt 6 and libxslt are only found: without Qt there is no xgegui, without libxslt --generate says so.XGE_WITH_<NAME> or XGE_ALL_BACKENDS, and BUILD_TESTING implies all, since the tests play every game through every backend. The OpenGL window needs SDL2_image and SDL2_ttf (XGE_NEEDS_SDL2). Rejected: plug-in libraries, not worth it for four small wrappers.-w on its interface, silencing the engine itself. Chosen: xge_warnings() gives the engine’s targets one strict set (GCC and Clang: all, extra, pedantic, shadow, conversion, old-style-cast and more; MSVC /W4 and extras); third-party headers are system headers; fetched sources build with -w. No -Werror: a new compiler should not break a user’s build.output/<Config>/ holds the programs, a copy of games/ and libraries/. Directories are set before any target so fetched libraries follow.libraries/ on Windows by a private assembly: each program embeds a manifest naming the assembly libraries, whose manifest lists every DLL. Delay-loading was out (Qt and SFML export data). Linux and macOS use the run path $ORIGIN/libraries. Qt plug-ins go through windeployqt.optimized/debug link entries; platform.cmake strips them.stbi_* symbols; -DBUILD_SHARED_LIBS=ON links.m collides with plutovg’s -lm.#ifdefs needs a build with no options as well as with tests.xge/ is the engine and its programs (lib/, cli/, gui/, tests/); games/ is what a game is made of (xgedef.xsd, descriptions/, assets/, generators/). The root keeps docs/, scripts/ and the build files.games/, so asset paths in a game (assets/paddle.jpg) stay short and a generated program has assets/ beside it. Rejected: the repository root as working directory.../xgedef.xsd is right in the repository and in the output alike. When it is not there, findSchema takes the nearest one above.game/, play/, load/, xml/, window/, audio/, picture/, engine/). Includes name the folder ("window/sfml.h"). Names avoid Windows macros (near, min, small, interface).xgetest-generated is excluded from the default build, and building it generates every game. --generate reads the engine from the repository (XGE_ENGINE_FOLDER), so a generating xgecli needs the repository it was built from.load/xml parses and validates into a GameData; load/expr evaluates it into objects and states. Generating is the parse stage done ahead of time by XSLT, so a generated program starts at evaluate.core/engine with system and service tiers); too layered for the code. Kept from it: update can run without a window, and what is truly live is the current state and objects.