summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2014-08-11 18:33:11 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-21 13:28:20 (GMT)
commitee48f4c7ae2c63fc565b1c112f887965b7c3b248 (patch)
treed68b293b338b3fa6307e925471060ce96e4457da /Source/cmVisualStudio10TargetGenerator.cxx
parentcb1aceed8ceb29d5f01f6444133060e603297fec (diff)
downloadCMake-ee48f4c7ae2c63fc565b1c112f887965b7c3b248.zip
CMake-ee48f4c7ae2c63fc565b1c112f887965b7c3b248.tar.gz
CMake-ee48f4c7ae2c63fc565b1c112f887965b7c3b248.tar.bz2
VS: Generate Windows Phone and Windows Store projects as Unicode
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index b4ece20..08daad4 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -592,6 +592,8 @@ void cmVisualStudio10TargetGenerator
if((this->Target->GetType() <= cmTarget::OBJECT_LIBRARY &&
this->ClOptions[config]->UsingUnicode()) ||
this->Target->GetPropertyAsBool("VS_WINRT_COMPONENT") ||
+ this->GlobalGenerator->TargetsWindowsPhone() ||
+ this->GlobalGenerator->TargetsWindowsStore() ||
this->Target->GetPropertyAsBool("VS_WINRT_EXTENSIONS"))
{
this->WriteString("<CharacterSet>Unicode</CharacterSet>\n", 2);