| 3306 | } |
| 3307 | |
| 3308 | void cmake::AddDefaultGenerators() |
| 3309 | { |
| 3310 | #if defined(_WIN32) && !defined(__CYGWIN__) |
| 3311 | # if !defined(CMAKE_BOOT_MINGW) |
| 3312 | this->Generators.push_back( |
| 3313 | cmGlobalVisualStudioVersionedGenerator::NewFactory18()); |
| 3314 | this->Generators.push_back( |
| 3315 | cmGlobalVisualStudioVersionedGenerator::NewFactory17()); |
| 3316 | this->Generators.push_back( |
| 3317 | cmGlobalVisualStudioVersionedGenerator::NewFactory16()); |
| 3318 | this->Generators.push_back( |
| 3319 | cmGlobalVisualStudioVersionedGenerator::NewFactory15()); |
| 3320 | this->Generators.push_back(cmGlobalVisualStudio14Generator::NewFactory()); |
| 3321 | this->Generators.push_back(cmGlobalBorlandMakefileGenerator::NewFactory()); |
| 3322 | this->Generators.push_back(cmGlobalNMakeMakefileGenerator::NewFactory()); |
| 3323 | this->Generators.push_back(cmGlobalJOMMakefileGenerator::NewFactory()); |
| 3324 | # endif |
| 3325 | this->Generators.push_back(cmGlobalMSYSMakefileGenerator::NewFactory()); |
| 3326 | this->Generators.push_back(cmGlobalMinGWMakefileGenerator::NewFactory()); |
| 3327 | #endif |
| 3328 | #if !defined(CMAKE_BOOTSTRAP) |
| 3329 | # if (defined(__linux__) && !defined(__ANDROID__)) || defined(_WIN32) |
| 3330 | this->Generators.push_back(cmGlobalGhsMultiGenerator::NewFactory()); |
| 3331 | # endif |
| 3332 | this->Generators.push_back(cmGlobalUnixMakefileGenerator3::NewFactory()); |
| 3333 | this->Generators.push_back(cmGlobalNinjaGenerator::NewFactory()); |
| 3334 | this->Generators.push_back(cmGlobalNinjaMultiGenerator::NewFactory()); |
| 3335 | this->Generators.push_back(cmGlobalFastbuildGenerator::NewFactory()); |
| 3336 | #elif defined(CMAKE_BOOTSTRAP_NINJA) |
| 3337 | this->Generators.push_back(cmGlobalNinjaGenerator::NewFactory()); |
| 3338 | #elif defined(CMAKE_BOOTSTRAP_MAKEFILES) |
| 3339 | this->Generators.push_back(cmGlobalUnixMakefileGenerator3::NewFactory()); |
| 3340 | #endif |
| 3341 | #if defined(CMAKE_USE_WMAKE) |
| 3342 | this->Generators.push_back(cmGlobalWatcomWMakeGenerator::NewFactory()); |
| 3343 | #endif |
| 3344 | #ifdef CMAKE_USE_XCODE |
| 3345 | this->Generators.push_back(cmGlobalXCodeGenerator::NewFactory()); |
| 3346 | #endif |
| 3347 | } |
| 3348 | |
| 3349 | bool cmake::ParseCacheEntry(std::string const& entry, std::string& var, |
| 3350 | std::string& value, |