mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
Update build instruction
This commit is contained in:
31
README.md
31
README.md
@@ -27,15 +27,36 @@ This project aims to preserve and improve this early version of Minecraft PE.
|
||||
# Build
|
||||
|
||||
## CMake
|
||||
### Linux
|
||||
1. Install dependiences
|
||||
|
||||
(Debian-like)
|
||||
|
||||
``sudo apt install build-essentials git cmake libgl-dev libwayland-dev xorg-dev libxkbcommon-dev``
|
||||
|
||||
(Arch-like)
|
||||
|
||||
``sudo pacman -S base-devel git cmake libglvnd wayland xorg-server-devel xorgproto libxkbcommon``
|
||||
|
||||
2. Create build folder
|
||||
``mkdir build && cd build``
|
||||
|
||||
3. Generate CMake cache and build the project
|
||||
```
|
||||
mkdir build && cd build
|
||||
cmake .. -B .
|
||||
make -j4
|
||||
cmake --build .
|
||||
```
|
||||
or
|
||||
|
||||
### Windows
|
||||
1. Install [Visual studio Build Tools](https://aka.ms/vs/stable/vs_BuildTools.exe) and [CMake](https://github.com/Kitware/CMake/releases/download/v4.3.0-rc3/cmake-4.3.0-rc3-windows-x86_64.msi)
|
||||
|
||||
2. Create build folder
|
||||
``mkdir build && cd build``
|
||||
|
||||
3. Generate CMake cache and build the project
|
||||
```
|
||||
mkdir build && cd build
|
||||
cmake --build . --config Release -j 10
|
||||
cmake ..
|
||||
cmake --build .
|
||||
```
|
||||
|
||||
## Visual Studio
|
||||
|
||||
Reference in New Issue
Block a user