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

Method Generate

Source/cmExtraSublimeTextGenerator.cxx:69–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void cmExtraSublimeTextGenerator::Generate()
70{
71 this->ExcludeBuildFolder = this->GlobalGenerator->GlobalSettingIsOn(
72 "CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE");
73 this->EnvSettings = this->GlobalGenerator->GetSafeGlobalSetting(
74 "CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS");
75
76 // for each sub project in the project create a sublime text 2 project
77 for (auto const& it : this->GlobalGenerator->GetProjectMap()) {
78 // create a project file
79 this->CreateProjectFile(it.second);
80 }
81}
82
83void cmExtraSublimeTextGenerator::CreateProjectFile(
84 std::vector<cmLocalGenerator*> const& lgs)

Callers

nothing calls this directly

Calls 3

CreateProjectFileMethod · 0.95
GlobalSettingIsOnMethod · 0.80
GetSafeGlobalSettingMethod · 0.80

Tested by

no test coverage detected