mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Use CM_FALLTHROUGH in Windows-specific code
Some cases were missed by earlier sweeps due to not compiling Windows-specific code.
This commit is contained in:
@@ -615,6 +615,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(
|
||||
switch (target->GetType()) {
|
||||
case cmStateEnums::OBJECT_LIBRARY:
|
||||
targetBuilds = false; // no manifest tool for object library
|
||||
CM_FALLTHROUGH;
|
||||
case cmStateEnums::STATIC_LIBRARY:
|
||||
projectType = "typeStaticLibrary";
|
||||
configType = "4";
|
||||
@@ -630,6 +631,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(
|
||||
case cmStateEnums::UTILITY:
|
||||
case cmStateEnums::GLOBAL_TARGET:
|
||||
configType = "10";
|
||||
CM_FALLTHROUGH;
|
||||
default:
|
||||
targetBuilds = false;
|
||||
break;
|
||||
|
||||
@@ -52,6 +52,7 @@ static std::string cmVS10EscapeComment(std::string comment)
|
||||
case '>': /* no break */
|
||||
case '^':
|
||||
echoable += '^'; /* no break */
|
||||
CM_FALLTHROUGH;
|
||||
default:
|
||||
echoable += *c;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user