Merge pull request #476 from Jayman2000/documentation-for-building-editor

Document how to build the editor
This commit is contained in:
Louis Gombert 2024-06-29 10:43:51 +00:00 committed by GitHub
commit d9749b729d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,7 @@ The milestone needs testing on all platforms. Please report issues when found.
## Building
#### Building - Windows
1. Make sure that you have Git and Visual Studio 2022 with the “Desktop development with C++” workload. If you dont already have those installed or you arent sure, then open an elevated Command Prompt and run:
1. Make sure that you have Git and Visual Studio 2022 with the “Desktop development with C++” workload and the “C++ MFC for latest v143 build tools (x86 & x64)” component. If you dont already have those installed or you arent sure, then open an elevated Command Prompt and run:
<!--
The following code block specifies the full path to the Visual Studio Installer because the Visual Studio Installer doesnt add itself to the users Path. The installer is guaranteed to be in a specific location on 64-bit systems [1]. The installer will be in a different location on 32-bit systems [2], but Visual Studio 2022 doesnt support 32-bit systems [3] so we can ignore that detail.
@ -110,7 +110,8 @@ The milestone needs testing on all platforms. Please report issues when found.
--passive^
--channelId VisualStudio.17.Release^
--productId Microsoft.VisualStudio.Product.Community^
--add Microsoft.VisualStudio.Workload.NativeDesktop;includeRecommended
--add Microsoft.VisualStudio.Workload.NativeDesktop;includeRecommended^
--add Microsoft.VisualStudio.Component.VC.ATLMFC
```
2. Open a “x86 Native Tools Command Prompt” and run:
@ -118,7 +119,7 @@ The milestone needs testing on all platforms. Please report issues when found.
```batch
git clone https://github.com/DescentDevelopers/Descent3
cd Descent3
cmake --preset win32 -D ENABLE_LOGGER=[ON|OFF]
cmake --preset win32 -D ENABLE_LOGGER=[ON|OFF] -D BUILD_EDITOR=[ON|OFF]
cmake --build --preset win32 --config [Debug|Release]
```