diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-08 08:02:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-08 08:13:59 +0200 |
commit | 2a980b6adec572caf95ae4b0b2cd90078856515f (patch) | |
tree | e72736eb569a315e77b54177a747566c499ae46f /libbuild2/cli/init.cxx | |
parent | 7468aa19e2f8f41b97c5dca00941174f186e61a2 (diff) |
Allow specifying compiler mode options in buildfile
Now the configured mode options are appended to buildfile-specified (which
must be specified before loading the guess module).
In particular, this ability to specify the compiler mode in a buildfile is
useful in embedded development where the project may need to hardcode things
like -target, -nostdinc, etc. For example:
cxx.std = 20
cxx.mode = -target riscv32-unknown-unknown -nostdinc
using cxx
Diffstat (limited to 'libbuild2/cli/init.cxx')
0 files changed, 0 insertions, 0 deletions