aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/init.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-01-08 08:02:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-01-08 08:13:59 +0200
commit2a980b6adec572caf95ae4b0b2cd90078856515f (patch)
treee72736eb569a315e77b54177a747566c499ae46f /libbuild2/in/init.hxx
parent7468aa19e2f8f41b97c5dca00941174f186e61a2 (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/in/init.hxx')
0 files changed, 0 insertions, 0 deletions