app/gui/run_none.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "terraingen/app/cli.h" | ||
| 2 | #include "terraingen/app/gui/run.h" | ||
| 3 | |||
| 4 | namespace terraingen::cli { | ||
| 5 | |||
| 6 | 1 | bool GuiAvailable() { | |
| 7 | 1 | return false; | |
| 8 | } | ||
| 9 | |||
| 10 | 8 | int RunGui(const std::vector<std::string>& args, std::ostream& /*out*/, std::ostream& err) { | |
| 11 | 8 | ParseGuiArgs(args); | |
| 12 | err << "terraingen: this build has no GUI; configure TerrainGen with " | ||
| 13 | 1 | "-DTERRAINGEN_ERNIE_DIR=<path to an Ernie checkout>\n"; | |
| 14 | 1 | return kExitUsage; | |
| 15 | } | ||
| 16 | |||
| 17 | } // namespace terraingen::cli | ||
| 18 |