DvvCz / cpkg

A dead simple package manager for C.
MIT License
1 stars 0 forks source link

Setting default backend #13

Closed DvvCz closed 5 months ago

DvvCz commented 5 months ago

It should be possible to force a backend as to ensure your flags and scripts work properly with said backend.

This already sort of exists in cpkg.toml, being compiler.default. It wouldn't "force it" but it should be fine to rely on the main and only then fallback to other backends. So AFAIK it'd just be

[compiler]
default = "clang"