mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user