mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-09 00:24:15 +00:00
Compare commits
2 Commits
5f931d74fc
...
d3df53503a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3df53503a | ||
|
|
5bccf89fe2 |
15
COMPILE.md
15
COMPILE.md
@@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
## Visual Studio
|
## Visual Studio
|
||||||
|
|
||||||
1. Clone or download the repository
|
1. Clone the repo, including submodules.
|
||||||
1. Open the repo folder in Visual Studio 2022+.
|
- If you don't, the build will fail. `git clone --recurse-submodules https://github.com/MCLCE/MinecraftConsoles.git`
|
||||||
2. Wait for cmake to configure the project and load all assets (this may take a few minutes on the first run).
|
2. Open the repo folder in Visual Studio 2022+.
|
||||||
3. Right click a folder in the solution explorer and switch to the 'CMake Targets View'
|
3. Wait for cmake to configure the project and load all assets (this may take a few minutes on the first run).
|
||||||
4. Select platform and configuration from the dropdown. EG: `Windows64 - Debug` or `Windows64 - Release`
|
4. Right click a folder in the solution explorer and switch to the 'CMake Targets View'
|
||||||
5. Pick the startup project `Minecraft.Client.exe` or `Minecraft.Server.exe` using the debug targets dropdown
|
5. Select platform and configuration from the dropdown. EG: `Windows64 - Debug` or `Windows64 - Release`
|
||||||
6. Build and run the project:
|
6. Pick the startup project `Minecraft.Client.exe` or `Minecraft.Server.exe` using the debug targets dropdown
|
||||||
|
7. Build and run the project:
|
||||||
- `Build > Build Solution` (or `Ctrl+Shift+B`)
|
- `Build > Build Solution` (or `Ctrl+Shift+B`)
|
||||||
- Start debugging with `F5`.
|
- Start debugging with `F5`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user