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

Method SetExportFile

Source/cmExportFileGenerator.cxx:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void cmExportFileGenerator::SetExportFile(char const* mainFile)
40{
41 this->MainImportFile = mainFile;
42 this->FileDir = cmSystemTools::GetFilenamePath(this->MainImportFile);
43 this->FileBase =
44 cmSystemTools::GetFilenameWithoutLastExtension(this->MainImportFile);
45 this->FileExt =
46 cmSystemTools::GetFilenameLastExtension(this->MainImportFile);
47}
48
49std::string const& cmExportFileGenerator::GetMainExportFileName() const
50{

Callers 4

GenerateScriptMethod · 0.80
AddExportGeneratorFunction · 0.80
HandleTargetsModeFunction · 0.80
TryCompileCodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected