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

Method AddGeneratedSource

Source/cmQtAutoGenInitializer.cxx:2153–2165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2151}
2152
2153cmSourceFile* cmQtAutoGenInitializer::AddGeneratedSource(
2154 std::string const& filename, GenVarsT const& genVars, bool prepend)
2155{
2156 // Register source at makefile
2157 cmSourceFile* gFile = this->RegisterGeneratedSource(filename);
2158 // Add source file to target
2159 this->GenTarget->AddSource(filename, prepend);
2160
2161 // Add source file to source group
2162 this->AddToSourceGroup(filename, genVars.GenNameUpper);
2163
2164 return gFile;
2165}
2166
2167void cmQtAutoGenInitializer::AddGeneratedSource(ConfigString const& filename,
2168 GenVarsT const& genVars,

Callers 2

InitAutogenTargetMethod · 0.95
InitRccTargetsMethod · 0.95

Calls 6

AddToSourceGroupMethod · 0.95
cmStrCatFunction · 0.70
AddSourceMethod · 0.45
IsXcodeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected