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:
parent
d89b28893d
commit
bc373c6d32
@ -286,7 +286,7 @@ void cmVisualStudio10TargetGenerator::Generate()
|
||||
this->WriteString("<ProjectGUID>", 2);
|
||||
(*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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user