[build2] How: build specific compilaton - out of source

hjansen.iv hjansen.iv at protonmail.com
Fri Aug 6 17:09:05 UTC 2021


In the same directory I have

myproj/
myproj-gcc-dbg/
myproj-gcc-rel/

where the last two dirs are development and release build configurations. In the myproj root directory I can do:
`bdep update @gcc-dbg` and `bdep update @gcc-rel`
How do I specify `-g` and `-O3` conditional compilation flags for `dbg` and `rel` versions respectively?

Thanks,
-- Henk

Sent with [ProtonMail](https://protonmail.com/) Secure Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20210806/2051c1d1/attachment.html>


More information about the users mailing list