MCPcopy Create free account
hub / github.com/Kitware/CMake / cmIfCommandError

Function cmIfCommandError

Source/cmIfCommand.cxx:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "cmake.h"
23
24static std::string cmIfCommandError(
25 std::vector<cmExpandedCommandArgument> const& args)
26{
27 std::string err = "given arguments:\n ";
28 for (cmExpandedCommandArgument const& i : args) {
29 err += " ";
30 err += cmOutputConverter::EscapeForCMake(i.GetValue());
31 }
32 err += "\n";
33 return err;
34}
35
36class cmIfFunctionBlocker : public cmFunctionBlocker
37{

Callers 2

ReplayMethod · 0.85
cmIfCommandFunction · 0.85

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…