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

Method WriteCompilerDefinitions

Source/cmGhsMultiTargetGenerator.cxx:259–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void cmGhsMultiTargetGenerator::WriteCompilerDefinitions(
260 std::ostream& fout, std::string const& config, std::string const& language)
261{
262 std::vector<std::string> compileDefinitions;
263 this->GeneratorTarget->GetCompileDefinitions(compileDefinitions, config,
264 language);
265 for (std::string const& compileDefinition : compileDefinitions) {
266 fout << " -D" << compileDefinition << '\n';
267 }
268}
269
270void cmGhsMultiTargetGenerator::WriteIncludes(std::ostream& fout,
271 std::string const& config,

Callers 1

GenerateTargetMethod · 0.95

Calls 1

GetCompileDefinitionsMethod · 0.80

Tested by

no test coverage detected