| 408 | } |
| 409 | |
| 410 | static bool HandleSbomMode(std::vector<std::string> const& args, |
| 411 | cmExecutionStatus& status) |
| 412 | { |
| 413 | if (!cmExperimental::HasSupportEnabled( |
| 414 | status.GetMakefile(), cmExperimental::Feature::GenerateSbom)) { |
| 415 | status.SetError("does not recognize sub-command SBOM"); |
| 416 | return false; |
| 417 | } |
| 418 | |
| 419 | using arg_t = cmSbomArguments; |
| 420 | using gen_t = cmExportBuildSbomGenerator; |
| 421 | status.GetMakefile().SetExplicitlyGeneratesSbom(true); |
| 422 | return HandleSpecialExportMode<arg_t, gen_t>(args, status); |
| 423 | } |
| 424 | |
| 425 | static bool HandleSetupMode(std::vector<std::string> const& args, |
| 426 | cmExecutionStatus& status) |
nothing calls this directly
no test coverage detected
searching dependent graphs…