[CMake] Building on Windows, with NMake, without Unicode Support

Bill Hoffman bill.hoffman at kitware.com
Fri Aug 30 15:49:44 EDT 2013


On 8/30/2013 2:57 PM, Stewart, Robert wrote:
> I can't figure out how to get CMake to build my code with setting
> -D_UNICODE and -DUNICODE.  I don't want those manifest constants set,
> but they appear in the generated DependInfo.cmake files when
> generating code for NMake Makefiles:

I just did a git grep in the cmake source tree, and I don't think 
UNICODE is being defined by CMake.  Is your project open source?  Can 
you grep in your source tree for UNICODE?


-Bill



More information about the CMake mailing list