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 <[email protected]> To: Patrick Johnmeyer <[email protected]> Cc: cmake <[email protected]> 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: [email protected] To: [email protected] CC: [email protected] 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
-- 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
