diff options
author | Brad King <brad.king@kitware.com> | 2014-08-18 19:12:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-08-21 13:28:19 (GMT) |
commit | bc373c6d321bee84aa8c4c4bf87c8b2d41b763c4 (patch) | |
tree | 243bd34ad3b2de1084c7a0df92e454a9da90a7fa /Source | |
parent | d89b28893dda8fb299e91795aba320b6b519cfd9 (diff) | |
download | CMake-bc373c6d321bee84aa8c4c4bf87c8b2d41b763c4.zip CMake-bc373c6d321bee84aa8c4c4bf87c8b2d41b763c4.tar.gz CMake-bc373c6d321bee84aa8c4c4bf87c8b2d41b763c4.tar.bz2 |
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).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 8aa3090..4927d6b 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -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(); } |