[build2] How to achive a mini-monorepo project structure

Matt Armstrong matt at rfc20.org
Sat Jan 29 20:05:37 UTC 2022


Boris Kolpackov <boris at codesynthesis.com> writes:

[...]

> We use import to get targets from other projects. Within the same
> project, we just include the buildfile that declares the target and 
> use it directly (see [2] for details):
>
> include ../libhello/ # Include lib{hello}.
>
> exe{hello}: {hxx cxx}{**} ../libhello/lib{hello}

Thanks Boris, that got me going.



More information about the users mailing list