mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +02:00
final reviewing and editing
[skip ci]
This commit is contained in:
12
BUILD.md
12
BUILD.md
@@ -7,7 +7,8 @@ Status](https://github.com/ZetaGlest/zetaglest-source/issues/25)
|
|||||||
|
|
||||||
* **Getting the code:**
|
* **Getting the code:**
|
||||||
* [Set up the repositories locally](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#set-up-the-repositories-locally)
|
* [Set up the repositories locally](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#set-up-the-repositories-locally)
|
||||||
* [cloning your forks](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#procedure-for-cloning-your-forks)
|
* [cloning](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#procedure-for-cloning)
|
||||||
|
* [Extra options for compiling](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#extra-options-for-compiling)
|
||||||
|
|
||||||
* **Dependencies**
|
* **Dependencies**
|
||||||
* [Windows](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#windows)
|
* [Windows](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#windows)
|
||||||
@@ -16,7 +17,7 @@ Status](https://github.com/ZetaGlest/zetaglest-source/issues/25)
|
|||||||
* [Mac OS](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#mac-os)
|
* [Mac OS](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#mac-os)
|
||||||
* [BSD](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#bsd)
|
* [BSD](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#bsd)
|
||||||
|
|
||||||
* * [Installing](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#installing)
|
* [Installing](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#installing)
|
||||||
|
|
||||||
* **Compiling**
|
* **Compiling**
|
||||||
* [Windows](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#windows)
|
* [Windows](https://github.com/ZetaGlest/zetaglest-source/blob/develop/BUILD.md#windows)
|
||||||
@@ -49,7 +50,7 @@ repo directories are in the same directory, adjacent to each other (and
|
|||||||
|
|
||||||
### Note
|
### Note
|
||||||
|
|
||||||
If you have cloned the repositories this way, do not use the
|
If you have cloned the repositories using your forks, do not use the
|
||||||
`git_update.sh` provided in the source directory. See
|
`git_update.sh` provided in the source directory. See
|
||||||
[syncing](https://github.com/ZetaGlest/zetaglest-source/blob/develop/CONTRIBUTING.md#syncing)
|
[syncing](https://github.com/ZetaGlest/zetaglest-source/blob/develop/CONTRIBUTING.md#syncing)
|
||||||
for information on how to sync your repo with the main upstream (no,
|
for information on how to sync your repo with the main upstream (no,
|
||||||
@@ -173,12 +174,17 @@ cmake to use the correct compiler)
|
|||||||
|
|
||||||
CC=`which egcc` CXX=`which eg++` cmake .. -DINSTALL_DIR_DATA=<absolute-path-to-data>
|
CC=`which egcc` CXX=`which eg++` cmake .. -DINSTALL_DIR_DATA=<absolute-path-to-data>
|
||||||
|
|
||||||
|
Now that the build configuration has been set, run make:
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
The zetaglest binaries will be in the `build/` directory. Run
|
The zetaglest binaries will be in the `build/` directory. Run
|
||||||
'./zetaglest' to start the game.
|
'./zetaglest' to start the game.
|
||||||
|
|
||||||
<!-- This needs to be duplicated in the BUILD.md and INSTALL.md doc -->
|
<!-- This needs to be duplicated in the BUILD.md and INSTALL.md doc -->
|
||||||
|
See [running](https://github.com/ZetaGlest/zetaglest-source#running) for
|
||||||
|
detailed information about running a server or hosting a game.
|
||||||
|
|
||||||
The value for INSTALL_DIR_DATA is written to the game when compiled,
|
The value for INSTALL_DIR_DATA is written to the game when compiled,
|
||||||
therefore if you ever move your data directory, you will have to
|
therefore if you ever move your data directory, you will have to
|
||||||
recompile ZetaGlest.
|
recompile ZetaGlest.
|
||||||
|
21
INSTALL.md
21
INSTALL.md
@@ -17,13 +17,8 @@ the game from source and run it without installing
|
|||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
### Installer
|
* [Installer](ZetaGlest Windows Installer)
|
||||||
|
* [Build and Install from source code](https://github.com/ZetaGlest/zetaglest-source/blob/develop/mk/windows/README.md)
|
||||||
[https://github.com/ZetaGlest/windows-installer](ZetaGlest Windows Installer)
|
|
||||||
|
|
||||||
### Build and Install from source code
|
|
||||||
|
|
||||||
https://github.com/ZetaGlest/zetaglest-source/blob/develop/mk/windows/README.md
|
|
||||||
|
|
||||||
## Linux, Mac OS, BSD
|
## Linux, Mac OS, BSD
|
||||||
|
|
||||||
@@ -52,12 +47,11 @@ Make and install the program:
|
|||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
||||||
The binary will be in CMAKE_INSTALL_PREFIX/games (i.e. /usr/games)
|
The binaries will be installed to CMAKE_INSTALL_PREFIX/games (i.e. /usr/games)
|
||||||
|
|
||||||
Before you run `make`, you can confirm the installation directories of
|
Before you run `make`, you can confirm the installation directories by
|
||||||
files that will be installed by entering `cmake .. -LH`. For example,
|
entering `cmake .. -LH`. For example, These are the destination
|
||||||
These are the destination directories when
|
directories when `-DCMAKE_INSTALL_PREFIX=/home/andy/local` is used:
|
||||||
`-DCMAKE_INSTALL_PREFIX=/home/andy/local` is used:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
// The installation path for binaries
|
// The installation path for binaries
|
||||||
@@ -80,6 +74,9 @@ If you wish to install to a location that does not require super-user
|
|||||||
privileges, change '/usr' to a location to which you have write access.
|
privileges, change '/usr' to a location to which you have write access.
|
||||||
|
|
||||||
<!-- This needs to be duplicated in the BUILD.md and INSTALL.md doc -->
|
<!-- This needs to be duplicated in the BUILD.md and INSTALL.md doc -->
|
||||||
|
See [running](https://github.com/ZetaGlest/zetaglest-source#running) for
|
||||||
|
detailed information about running a server or hosting a game.
|
||||||
|
|
||||||
The value for INSTALL_DIR_DATA is written to the game when compiled,
|
The value for INSTALL_DIR_DATA is written to the game when compiled,
|
||||||
therefore if you ever move your data directory, you will have to
|
therefore if you ever move your data directory, you will have to
|
||||||
recompile ZetaGlest.
|
recompile ZetaGlest.
|
||||||
|
16
README.md
16
README.md
@@ -14,13 +14,15 @@ in one of 17 naturally looking settings, which, like the unit models,
|
|||||||
are crafted with great attention to detail. A lot of additional game
|
are crafted with great attention to detail. A lot of additional game
|
||||||
data can be downloaded from within the game at no cost.
|
data can be downloaded from within the game at no cost.
|
||||||
|
|
||||||
* **README Contents**
|
**README Contents**
|
||||||
* [Stay Informed (Updates)](https://github.com/ZetaGlest/zetaglest-source#stay-informed-updates)
|
|
||||||
* [Project Goals](https://github.com/ZetaGlest/zetaglest-source#why-this-fork-project-goals)
|
* [Stay Informed (Updates)](https://github.com/ZetaGlest/zetaglest-source#stay-informed-updates)
|
||||||
* [Download executable files](https://github.com/ZetaGlest/zetaglest-source#download-executable-files)
|
* [Project Goals](https://github.com/ZetaGlest/zetaglest-source#why-this-fork-project-goals)
|
||||||
* [Extra Tech trees, mods, tilesets, scenarious (not yet available on the ZetaGlest server)](https://github.com/ZetaGlest/zetaglest-source#extra-tech-trees-mods-tilesets-scenarious-not-yet-available-on-the-zetaglest-server)
|
* [Download executable files](https://github.com/ZetaGlest/zetaglest-source#download-executable-files)
|
||||||
* [Contributing and Testing](https://github.com/ZetaGlest/zetaglest-source#contributing-and-testing)
|
* [Running](https://github.com/ZetaGlest/zetaglest-source#running)
|
||||||
* [Contact](https://github.com/ZetaGlest/zetaglest-source#contact)
|
* [Extra Tech trees, mods, tilesets, scenarious (not yet available on the ZetaGlest server)](https://github.com/ZetaGlest/zetaglest-source#extra-tech-trees-mods-tilesets-scenarious-not-yet-available-on-the-zetaglest-server)
|
||||||
|
* [Contributing and Testing](https://github.com/ZetaGlest/zetaglest-source#contributing-and-testing)
|
||||||
|
* [Contact](https://github.com/ZetaGlest/zetaglest-source#contact)
|
||||||
|
|
||||||
**[System Requirements](https://zetaglest.github.io/docs/system_requirements.html)**
|
**[System Requirements](https://zetaglest.github.io/docs/system_requirements.html)**
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user