mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-24 03:00:13 +01:00
Support cmake (#153)
* First cmake list file, simple docs. TODO: utils folder. * Support for building utils * All fields except HAVE_DOPRNT in place * Now builds and runs :)
This commit is contained in:
parent
b9d84fc325
commit
3e0c1ccc18
7 changed files with 892 additions and 17 deletions
21
doc/README.MSVC2022
Normal file
21
doc/README.MSVC2022
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
Updated: Apr 2025
|
||||
Compiling CircleMUD under Microsoft Windows XP
|
||||
using Microsoft Visual C++ 2022 (8.0)
|
||||
|
||||
### 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. Run this command in the root folder:
|
||||
|
||||
cmake -B build -S . -G "Visual Studio 17 2022"
|
||||
|
||||
3. Open `build/circle.sln` in Visual Studio.
|
||||
|
||||
4. Compile and run.
|
||||
Loading…
Add table
Add a link
Reference in a new issue