From d89b28893dda8fb299e91795aba320b6b519cfd9 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 18 Aug 2014 15:03:13 -0400 Subject: 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. --- Source/cmVisualStudio10TargetGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12