17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-18 13:49:19 +02:00

let betterRenderer import the modules

The module file set moves to its own eu07_modules library: a target can
only consume C++20 modules by linking the target that owns them, and
betterRenderer is a separate add_library. Its project includes become
imports.

CXX_EXTENSIONS must match across the two - a BMI built with -std=c++20
is refused by a unit compiled with -std=gnu++20.
This commit is contained in:
maj00r
2026-09-09 23:30:34 +02:00
parent ce5ee288ff
commit 06f6c6035b
19 changed files with 82 additions and 43 deletions

View File

@@ -1,14 +1,16 @@
#include "nvtexture.h"
#include "nvrenderer/nvrenderer.h"
#include <utilities/Globals.h>
#include <scripting/PyInt.h>
#include <application/application.h>
#include <utilities/dictionary.h>
#include "utilities/Globals_macros.h"
import eu07.utilities.globals;
import eu07.scripting.pyint;
import eu07.application.application;
import eu07.utilities.dictionary;
#include <fmt/format.h>
#include <utilities/utilities.h>
#include "utilities/utilities_macros.h"
import eu07.utilities.utilities;
#include "utilities/Logs.h"
import eu07.utilities.logs;
// #include "Texture.h"
#include "nvrendererbackend.h"
#include "stbi/stb_image.h"