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

Function cmMakeCommandLine

Source/cmCustomCommandLines.cxx:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include "cmCustomCommandLines.h"
4
5cmCustomCommandLine cmMakeCommandLine(
6 std::initializer_list<cm::string_view> ilist)
7{
8 cmCustomCommandLine commandLine;
9 commandLine.reserve(ilist.size());
10 for (cm::string_view cmd : ilist) {
11 commandLine.emplace_back(cmd);
12 }
13 return commandLine;
14}
15
16cmCustomCommandLines cmMakeSingleCommandLine(
17 std::initializer_list<cm::string_view> ilist)

Callers 4

cmMakeSingleCommandLineFunction · 0.85
AddCheckTargetMethod · 0.85
InitAutogenTargetMethod · 0.85

Calls 3

reserveMethod · 0.80
emplace_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…