[CMake] Remove _MBCS

David Cole dlrdave at aol.com
Thu Feb 21 10:19:14 EST 2013


Don't be too hard on yourself... We all make typos now and again. :-)

You're smart enough to ask for help when you need it. Even if it does turn out to be something like this in the end.


Cheers,
David C.


 

 

 

-----Original Message-----
From: YanmingZou <ymzou at hotmail.com>
To: Patrick Johnmeyer <pjohnmeyer+cmake at gmail.com>
Cc: cmake <cmake at cmake.org>
Sent: Thu, Feb 21, 2013 10:15 am
Subject: Re: [CMake] Remove _MBCS


Hi All,
 
Thank you very much.
 
I found the reason. It is a spelling error. (UINCODE, not UNICODE) How stupid I am. Thanks again.
 
Best regards
Yanming
 



Date: Wed, 20 Feb 2013 07:35:57 -0600
From: pjohnmeyer+cmake at gmail.com
To: ymzou at hotmail.com
CC: cmake at cmake.org
Subject: Re: [CMake] Remove _MBCS






I am developing an application on windows with VS2012 and CMake (2.8.10.2). I want to use unicode in my program, so I add UNICODE and _UNICODE with ADD_DEFINITIONS. However, there is always a _MBCS marco in the generated project file. The project can be compiled, but I am not happy with that. Could someone can tell me how to remove the _MBCS? Thanks.




Did you try remove_definitions?
http://www.cmake.org/cmake/help/v2.8.1/cmake.html#command:remove_definitions





--Powered by www.kitware.comVisit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.htmlPlease keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQFollow this link to subscribe/unsubscribe:http://www.cmake.org/mailman/listinfo/cmake
 		 	   		  
 
--

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130221/401c3e1c/attachment-0001.htm>


More information about the CMake mailing list