diff options
author | Brad King <brad.king@kitware.com> | 2014-08-18 19:03:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-08-21 13:28:19 (GMT) |
commit | d89b28893dda8fb299e91795aba320b6b519cfd9 (patch) | |
tree | dc6e6a3b4a59b1e2fd2f88b661f3987f7684bf31 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 03ad8f28c88dbd04c41c7f6b7cc96740e8a486a4 (diff) | |
download | CMake-d89b28893dda8fb299e91795aba320b6b519cfd9.zip CMake-d89b28893dda8fb299e91795aba320b6b519cfd9.tar.gz CMake-d89b28893dda8fb299e91795aba320b6b519cfd9.tar.bz2 |
VS: Mark CMake-generated targets as Utility in .vcxproj files
Targets like 'INSTALL' and 'RUN_TESTS' are Utility targets.
Fix the VS >= 10 generator to set this correctly. We already
do so for VS < 10.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-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 6989c51..8aa3090 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -546,9 +546,9 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues() configType += "Application"; break; case cmTarget::UTILITY: + case cmTarget::GLOBAL_TARGET: configType += "Utility"; break; - case cmTarget::GLOBAL_TARGET: case cmTarget::UNKNOWN_LIBRARY: case cmTarget::INTERFACE_LIBRARY: break; |