[cfe-dev] Release+Asserts equivalent when using Visual Studio on Windows?

NAKAMURA Takumi geek4civic at gmail.com
Thu Jan 24 05:50:39 PST 2013


It seems controlling assertions is disabled on cmake vs. I don't know why.
In other generators, LLVM_ENABLE_ASSERTIONS can control.


2013/1/24 Timur Iskhodzhanov <timurrrr at google.com>:
> Hello Clang developers,
> Is there any way I can build a Release+Asserts build on Windows in VS?
> I've used Debug builds for "sanity" checking and RelWithDebInfo for
> testing large build targets.
> However, now that I've spent a day debugging a simple copy-paste
> mistake in RelWithDebInfo build which was assert-catchable in Debug
> mode,
> I think I'd prefer Release+Asserts+DebInfo or Release+Asserts over
> Release+DebInfo.
> Is there a simple way I can achieve that?
> E.g. some flag to cmake?
> Thanks!
> --
> Timur

More information about the cfe-dev mailing list