[CMake] VS's /Zo flag

James Bigler jamesbigler at gmail.com
Mon Dec 14 18:51:33 EST 2015


OK, so it is there in the project file and if I enable detailed build
output, the flag is there.  I wonder why the the AdditionalOptions aren't
appearing in the GUI.  They used to.

    <ClCompile>
      <AdditionalOptions> /w34101 /w34189 /w34018 /w34389 /Zo
%(AdditionalOptions)</AdditionalOptions>

Nothing in the "Additional Options" section in the "Command Line" section
of the project settings.

On Mon, Dec 14, 2015 at 4:35 PM, James Bigler <jamesbigler at gmail.com> wrote:

> Has anyone been able to use the /Zo flag?  I tried to add it to my
> RelWithDebInfo build, but the flag doesn't seem to be showing up in the
> command line (in the GUI).
>
> My flags are:
>
> /MT /O2 /Ob2 /D NDEBUG /Zi /Zo
>
> I'm using cmake 3.2.1.
>
> Documentation on /Zo (available in VS2013.3+:
> https://msdn.microsoft.com/en-us/library/dn785163.aspx
>
> Thanks,
> James
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151214/e428c3c7/attachment.html>


More information about the CMake mailing list