mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 03:32:35 +01:00
commit
94bcfedeb0
@ -1,7 +1,7 @@
|
||||
# Windows
|
||||
ZetaGlest build system for Windows
|
||||
|
||||
To build ZetaGlest for the first time:
|
||||
**To build ZetaGlest for the first time:**
|
||||
|
||||
1. Download Git for Windows (or make sure it is installed), and make sure that `git` is in the `PATH` environment variable.
|
||||
To check, open `cmd` and write `git`. If you get a `not recognized` error, then continue with step 1, otherwise skip to step 2. Usually `git.exe` is located in `C:\Program Files\Git\bin` after installation. To add it to `PATH`, right-click on `This PC` -> `Properties` -> `Advanced system settings` -> `Advanced` tab -> `Environment Variables`, and under `System variables` double-click on `PATH`, and add the path to `git` as a listing and click `OK`.
|
||||
@ -12,13 +12,27 @@ To build ZetaGlest for the first time:
|
||||
5. The built binaries will be found in the corresponding Visual Studio version and platform selected in `/mk/windows`.
|
||||
6. Run and enjoy! :)
|
||||
|
||||
**Project overview:**
|
||||
|
||||
- `glest_game` is the executable game binary
|
||||
|
||||
- `libglest` is a shared static library for ZetaGlest's components
|
||||
|
||||
- `g3d_viewer` is a `.g3d` model viewer
|
||||
|
||||
- `map_editor` is a ZetaGlest map editor and viewer. ZetaGlest maps are stored in the `.gbm` and the `.mgm` formats.
|
||||
|
||||
- `libstreflop` is a cross-platform float processing library to ensure rounding is the same across machines
|
||||
|
||||
- `g2xml` converts `.g3d` ZetaGlest 3D models into a readable XML formatted layout
|
||||
|
||||
*Side-note for developers who want to debug:*
|
||||
|
||||
To be able to run ZetaGlest from within Visual Studio using the debugger, you need to:
|
||||
|
||||
1. Set `glest_game` as the startup project.
|
||||
2. Right-click `glest_game` -> Properties -> Debugging and change `Working Directory` to `$(SolutionDir)$(TargetName)\`
|
||||
Do this for `g3d_viewer` and `map_editor`.
|
||||
2. Right-click `glest_game` -> `Properties` -> `Debugging` and change `Working Directory` to `$(SolutionDir)$(TargetName)\`
|
||||
Do this also for `g3d_viewer` and `map_editor`.
|
||||
|
||||
Configuration in Visual Studio must be left as "Release", otherwise it won't compile, but one can still use debugging options by making the following changes in the project properties:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user