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

Method CheckUseResponseFileForLibraries

Source/cmNinjaNormalTargetGenerator.cxx:263–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263bool cmNinjaNormalTargetGenerator::CheckUseResponseFileForLibraries(
264 std::string const& l) const
265{
266 // Check for an explicit setting one way or the other.
267 std::string const responseVar =
268 "CMAKE_" + l + "_USE_RESPONSE_FILE_FOR_LIBRARIES";
269
270 // If the option is defined, read it's value
271 if (cmValue val = this->Makefile->GetDefinition(responseVar)) {
272 return val.IsOn();
273 }
274
275 // Default to true
276 return true;
277}
278
279struct cmNinjaRemoveNoOpCommands
280{

Callers 2

WriteLinkRuleMethod · 0.95

Calls 2

GetDefinitionMethod · 0.45
IsOnMethod · 0.45

Tested by

no test coverage detected