mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
VS: Generate Windows Phone and Windows Store projects as Unicode
This commit is contained in:

committed by
Brad King

parent
cb1aceed8c
commit
ee48f4c7ae
@@ -592,6 +592,8 @@ void cmVisualStudio10TargetGenerator
|
|||||||
if((this->Target->GetType() <= cmTarget::OBJECT_LIBRARY &&
|
if((this->Target->GetType() <= cmTarget::OBJECT_LIBRARY &&
|
||||||
this->ClOptions[config]->UsingUnicode()) ||
|
this->ClOptions[config]->UsingUnicode()) ||
|
||||||
this->Target->GetPropertyAsBool("VS_WINRT_COMPONENT") ||
|
this->Target->GetPropertyAsBool("VS_WINRT_COMPONENT") ||
|
||||||
|
this->GlobalGenerator->TargetsWindowsPhone() ||
|
||||||
|
this->GlobalGenerator->TargetsWindowsStore() ||
|
||||||
this->Target->GetPropertyAsBool("VS_WINRT_EXTENSIONS"))
|
this->Target->GetPropertyAsBool("VS_WINRT_EXTENSIONS"))
|
||||||
{
|
{
|
||||||
this->WriteString("<CharacterSet>Unicode</CharacterSet>\n", 2);
|
this->WriteString("<CharacterSet>Unicode</CharacterSet>\n", 2);
|
||||||
|
Reference in New Issue
Block a user