I see that bazel has three compilation modes: fastbuild, opt and dbg.
When I want to have a binary that contains debug information, I choose dbg, when I want to generate a binary for release, I choose opt, so when should fastbuild be used?
And more specifically, what options are they using to build my C++ projects.
And is there any options like RelWithDebInfo, with which I don't need to worry about performance issue and also have debug information written in binaries for testing.
Thanks in advance.
Hello everyone:
I see that bazel has three compilation modes: fastbuild, opt and dbg.
When I want to have a binary that contains debug information, I choose dbg, when I want to generate a binary for release, I choose opt, so when should fastbuild be used?
And more specifically, what options are they using to build my C++ projects.
On Wednesday, August 3, 2016, <haodah...@gmail.com> wrote:Hello everyone:
I see that bazel has three compilation modes: fastbuild, opt and dbg.
When I want to have a binary that contains debug information, I choose dbg, when I want to generate a binary for release, I choose opt, so when should fastbuild be used?
fastbuild is the default.