[CMake] Unicode in Visual Studio projects

Robert Dailey rcdailey at gmail.com
Wed Nov 26 12:25:28 EST 2008


On Wed, Nov 26, 2008 at 11:15 AM, Mike Arthur <mike at mikearthur.co.uk> wrote:

> On Wednesday 26 November 2008 16:54:13 Robert Dailey wrote:
> > > I noticed when I run CMake for Visual Studio 9 2008 it sets my project
> to
> > > "Multibyte Character Set" instead of Unicode. Is there a way to force
> > > CMake to set the "Character Set" option to "Use Unicode Character Set"?
> In Visual Studio this just sets CFLAGS on the commandline. You can't
> actually
> change the option but you can set the CFLAGS to do the same thing.
>
> I can't remember what they are off the top of my head though and too busy
> to
> check.


Well I could probably define _UNICODE on the command line, right? But if I
do this it doesn't exactly undefine _MBCS does it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081126/acfa189d/attachment.htm>


More information about the CMake mailing list