Changeset View
Changeset View
Standalone View
Standalone View
projectbuilders/cmakebuilder/cmakebuilder.cpp
Show First 20 Lines • Show All 266 Lines • ▼ Show 20 Line(s) | |||||
267 | { | 267 | { | ||
268 | QStringList generatorNames; | 268 | QStringList generatorNames; | ||
269 | 269 | | |||
270 | bool hasNinja = KDevelop::ICore::self()->pluginController()->pluginForExtension("org.kdevelop.IProjectBuilder", "KDevNinjaBuilder"); | 270 | bool hasNinja = KDevelop::ICore::self()->pluginController()->pluginForExtension("org.kdevelop.IProjectBuilder", "KDevNinjaBuilder"); | ||
271 | if (hasNinja) | 271 | if (hasNinja) | ||
272 | generatorNames << "Ninja"; | 272 | generatorNames << "Ninja"; | ||
273 | 273 | | |||
274 | #ifdef Q_OS_WIN | 274 | #ifdef Q_OS_WIN | ||
275 | // Visual Studio solution is the standard generator under windows, but we dont want to use | 275 | // Visual Studio solution is the standard generator under windows, but we don't want to use | ||
276 | // the VS IDE, so we need nmake makefiles | 276 | // the VS IDE, so we need nmake makefiles | ||
277 | generatorNames << "NMake Makefiles"; | 277 | generatorNames << "NMake Makefiles"; | ||
278 | #endif | 278 | #endif | ||
279 | generatorNames << "Unix Makefiles"; | 279 | generatorNames << "Unix Makefiles"; | ||
280 | 280 | | |||
281 | return generatorNames; | 281 | return generatorNames; | ||
282 | } | 282 | } | ||
283 | 283 | | |||
Show All 25 Lines |