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

Method CreateProjectFile

Source/cmExtraCodeBlocksGenerator.cxx:76–87  ·  view source on GitHub ↗

create the project file */

Source from the content-addressed store, hash-verified

74
75/* create the project file */
76void cmExtraCodeBlocksGenerator::CreateProjectFile(
77 std::vector<cmLocalGenerator*> const& lgs)
78{
79 std::string outputDir = lgs[0]->GetCurrentBinaryDirectory();
80 std::string projectName = lgs[0]->GetProjectName();
81
82 std::string filename = cmStrCat(outputDir, '/', projectName, ".cbp");
83 std::string sessionFilename =
84 cmStrCat(outputDir, '/', projectName, ".layout");
85
86 this->CreateNewProjectFile(lgs, filename);
87}
88
89/* Tree is used to create a "Virtual Folder" in CodeBlocks, in which all
90 CMake files this project depends on will be put. This means additionally

Callers 1

GenerateMethod · 0.95

Calls 3

CreateNewProjectFileMethod · 0.95
cmStrCatFunction · 0.70
GetProjectNameMethod · 0.45

Tested by

no test coverage detected