[CMake] Unicode in Visual Studio projects

Robert Dailey rcdailey at gmail.com
Wed Nov 26 13:22:43 EST 2008


On Wed, Nov 26, 2008 at 11:51 AM, KSpam <keesling_spam at cox.net> wrote:

> On Wednesday 26 November 2008 10:25:28 Robert Dailey wrote:
> > Well I could probably define _UNICODE on the command line, right? But if
> I
> > do this it doesn't exactly undefine _MBCS does it?
>
> I define _UNICODE and UNICODE via "add_definitions".  As far as I can tell,
> Visual Studio picks up these settings and sets "Unicode" in the project
> settings instead of "Multibyte Character Set".


Thanks! This works out wonderfully!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081126/ee25ff54/attachment-0001.htm>


More information about the CMake mailing list