[build2] Out of tree assert
Moldmann Max (DC-MH/ENG52-NA)
Max.Moldmann at boschrexroth-us.com
Tue Jan 30 16:28:46 UTC 2018
Hi Boris,
Out of tree builds work fine like this:
> b.exe . at ../bld/
But a colleague was trying to do an out of tree build inside the src folder in a bld folder, like this:
> b.exe . at ./bld/
> Assertion failed!
>
> Program: C:\Tools\build2\bin\b.exe
> File: C:\Tools\build2-build\build2-toolchain-0.7-a.0\build2-0.7.0-a.0.1513492056.f9d759160eef1ca8\build2\target.cxx, Line 407
>
> Expression: phase == run_phase::load
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
So it seems like you have an assert there, that the bld folder is really outside the source tree. But in my opinion that may limit the user too much.
Thanks,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20180130/eccf8da3/attachment.html>
More information about the users
mailing list