| 261 | } |
| 262 | |
| 263 | bool 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 | |
| 279 | struct cmNinjaRemoveNoOpCommands |
| 280 | { |
no test coverage detected