| ▲ | flohofwoe 4 hours ago | |
I suspect it depends on a specific directory structure, e.g. look at this generated cmake file: https://github.com/randerson112/craft/blob/main/CMakeLists.t... ...and for custom requirements a manually created CMakeLists.extras.txt as escape hatch. Unclear to me how more interesting scenarios like compiler- and platform-specific build options (enable/disable warnings, defines, etc...), cross-compilation via cmake toolchain files (e.g. via Emscripten SDK, WASI SDK or Android SDK/NDK) would be handled. E.g. just trivial things like "when compiling for Emscripten, include these source files, but not those others". | ||