Added new easy way of building TbaMUD in the Visual Studio through the CMake (#127)

* Added new experimental MSVC build way through CMake

* Small build/README.md fix
This commit is contained in:
Roman Shapiro
2023-11-19 10:04:39 +07:00
committed by GitHub
parent 498b652546
commit b2d38522e0
5 changed files with 50 additions and 0 deletions

15
build/README.md Normal file
View File

@@ -0,0 +1,15 @@
### Overview
This guide describes how to build TbaMUD in the Visual Studio through the new experimental CMake environment.
### Prerequisites
* [Visual Studio 2022+](https://visualstudio.microsoft.com/ru/vs/)
* [CMake 3.27+](https://cmake.org/)
### Build Steps
1. Goto the folder `src` and copy `conf.h.win` to `conf.h`.
2. Goto the folder `build` and execute `create_solution.bat`.
3. Open `build/circle.sln` in Visual Studio.
4. Compile and run.

View File

@@ -0,0 +1 @@
cmake -B . -S ..\src -G "Visual Studio 17 2022"