Changeset View
Changeset View
Standalone View
Standalone View
plugins/cmake/cmakemanager.cpp
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | |||||
123 | // if (parent) | 123 | // if (parent) | ||
124 | // ret=buildDirectory(parent); | 124 | // ret=buildDirectory(parent); | ||
125 | // else | 125 | // else | ||
126 | // ret=Path(CMake::currentBuildDir(item->project())); | 126 | // ret=Path(CMake::currentBuildDir(item->project())); | ||
127 | // | 127 | // | ||
128 | // if(fi) | 128 | // if(fi) | ||
129 | // ret.addPath(fi->buildDir()); | 129 | // ret.addPath(fi->buildDir()); | ||
130 | // return ret; | 130 | // return ret; | ||
131 | return Path(CMake::currentBuildDir(item->project())); | 131 | return Path(CMake::currentBuildDir(item->project(), true)); | ||
132 | } | 132 | } | ||
133 | 133 | | |||
134 | KDevelop::ProjectFolderItem* CMakeManager::import( KDevelop::IProject *project ) | 134 | KDevelop::ProjectFolderItem* CMakeManager::import( KDevelop::IProject *project ) | ||
135 | { | 135 | { | ||
136 | CMake::checkForNeedingConfigure(project); | 136 | CMake::checkForNeedingConfigure(project); | ||
137 | 137 | | |||
138 | return AbstractFileManagerPlugin::import(project); | 138 | return AbstractFileManagerPlugin::import(project); | ||
139 | } | 139 | } | ||
▲ Show 20 Lines • Show All 848 Lines • Show Last 20 Lines |