Re: [CMake] Unicode in Visual Studio projects

2008-11-26 Thread Robert Dailey
On Wed, Nov 26, 2008 at 11:51 AM, KSpam <[EMAIL PROTECTED]> 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

Re: [CMake] Unicode in Visual Studio projects

2008-11-26 Thread Philip Lowman
Have you checked to see if there is a compiler or linker flag for this? If so you can add it quite easily using SET_TARGET_PROPERTIES, or globally with ADD_DEFINITIONS. .. Original Message ... On Wed, 26 Nov 2008 10:54:13 -0600 "Robert Dailey" <[EMAIL PROTECTED]> wrote: >On Tue, Nov 25,

Re: [CMake] Unicode in Visual Studio projects

2008-11-26 Thread KSpam
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 se

Re: [CMake] Unicode in Visual Studio projects

2008-11-26 Thread Robert Dailey
On Wed, Nov 26, 2008 at 11:15 AM, Mike Arthur <[EMAIL PROTECTED]> 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 > > >

Re: [CMake] Unicode in Visual Studio projects

2008-11-26 Thread Mike Arthur
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 S

Re: [CMake] Unicode in Visual Studio projects

2008-11-26 Thread Robert Dailey
On Tue, Nov 25, 2008 at 4:46 PM, Robert Dailey <[EMAIL PROTECTED]> wrote: > Hi, > > 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

[CMake] Unicode in Visual Studio projects

2008-11-25 Thread Robert Dailey
Hi, 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"? ___ CMake mailing list CMake@cmake