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:
parent
03ad8f28c8
commit
d89b28893d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue