How can I specify a flag with trailing "-"?

View: New views
3 Messages — Rating Filter:   Alert me  

How can I specify a flag with trailing "-"?

by vvm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I try to specify <variant>release:<cxxflags>/GS- but it results in "/GS" only and omits the trailing "-".

Thanks

Re: How can I specify a flag with trailing "-"?

by Motonari Ito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I try to specify <variant>release:<cxxflags>/GS- but it results in
"/GS"
> only and omits the trailing "-".

I have the same problem and have not solved yet.

It's serious because msvc uses trailing "-" for many important options
such as /Oy /GS, etc.

Any help would be appreciated.

Thank you.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: How can I specify a flag with trailing "-"?

by Motonari Ito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I try to specify <variant>release:<cxxflags>/GS- but it results in
"/GS"
> only and omits the trailing "-".

I found that

<cxxflags>-GS-

works.

Thank you.


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build