[CMake] Unicode in Visual Studio projects

KSpam keesling_spam at cox.net
Wed Nov 26 12:51:33 EST 2008


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".

Hope This Helps,
Justin


More information about the CMake mailing list