VS: Set Window Phone/Store app type in CMake-generated targets

Generate the ApplicationType and ApplicationTypeRevision elements in
.vcxproj files for CMake-generated targets like 'INSTALL' and
'RUN_TESTS'.  This was accidentally left out of commit 709cebde (VS:
Generate WindowsPhone and WindowsStore application types, 2014-07-31).
This commit is contained in:
Brad King 2014-08-18 15:12:24 -04:00
parent d89b28893d
commit bc373c6d32
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void cmVisualStudio10TargetGenerator::Generate()
this->WriteString("<ProjectGUID>", 2); this->WriteString("<ProjectGUID>", 2);
(*this->BuildFileStream) << "{" << this->GUID << "}</ProjectGUID>\n"; (*this->BuildFileStream) << "{" << this->GUID << "}</ProjectGUID>\n";
if(this->MSTools && this->Target->GetType() <= cmTarget::UTILITY) if(this->MSTools && this->Target->GetType() <= cmTarget::GLOBAL_TARGET)
{ {
this->WriteApplicationTypeSettings(); this->WriteApplicationTypeSettings();
} }