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

Method Parse

Source/cmVisualStudioGeneratorOptions.cxx:229–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void cmVisualStudioGeneratorOptions::Parse(std::string const& flags)
230{
231 // Parse the input string as a windows command line since the string
232 // is intended for writing directly into the build files.
233 std::vector<std::string> args;
234 cmSystemTools::ParseWindowsCommandLine(flags.c_str(), args);
235
236 // Process flags that need to be represented specially in the IDE
237 // project file.
238 for (std::string const& ai : args) {
239 this->HandleFlag(ai);
240 }
241}
242
243void cmVisualStudioGeneratorOptions::ParseFinish()
244{

Callers 1

ReparseMethod · 0.95

Calls 2

c_strMethod · 0.80
HandleFlagMethod · 0.80

Tested by

no test coverage detected