Open DvvCz opened 3 months ago
Might just be better to only respect one compiler backend configuration at a time, depending on which is provided.
So if compiler.gcc.flags
is provided with gcc
backend, it'll use those, otherwise it'll default to compiler.flags
.
This wasn't actually implemented despite being supported in
cpkg.toml
, but should be relatively easy to do with theProject
struct now.What I mean by this is build flags should be
compiler.flags
+compiler.gcc.flags
orcompiler.flags
+compiler.clang.flags
depending on the backend being used.At the moment it only uses
compiler.flags
.