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.
This commit is contained in:
Brad King 2014-08-18 15:03:13 -04:00
parent 03ad8f28c8
commit d89b28893d
1 changed files with 1 additions and 1 deletions

View File

@ -546,9 +546,9 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues()
configType += "Application"; configType += "Application";
break; break;
case cmTarget::UTILITY: case cmTarget::UTILITY:
case cmTarget::GLOBAL_TARGET:
configType += "Utility"; configType += "Utility";
break; break;
case cmTarget::GLOBAL_TARGET:
case cmTarget::UNKNOWN_LIBRARY: case cmTarget::UNKNOWN_LIBRARY:
case cmTarget::INTERFACE_LIBRARY: case cmTarget::INTERFACE_LIBRARY:
break; break;