From 9a81932b2559fc9af8a74d146b484baddd5c6430 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 2 Jul 2024 08:18:50 -0400 Subject: [PATCH] - add a small little build guide to replace the now missing build scripts --- build-guide.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 build-guide.txt diff --git a/build-guide.txt b/build-guide.txt new file mode 100644 index 000000000..c6228ea23 --- /dev/null +++ b/build-guide.txt @@ -0,0 +1,34 @@ +For Windows, you need the latest version of Visual Studio, Windows SDK, Git, and CMake to build VkDoom. + +For Linux, you need the following: +* libsdl2-dev +* libopenal-dev +* libvpx-dev +* git +* cmake + +For Mac, I recommend you use the following project, as it contains all the dependencies and makes building easy: +* https://github.com/ZDoom/zdoom-macos-deps + + +After you have the packages installed, cd into your projects dir, and do the following to clone: +* git clone https://github.com/dpjudas/VkDoom + +Afterwards, cd into it +* cd VkDoom + +Make a build folder, then cd into it +* mkdir build +* cd build + +For Windows, run the following to prepare your build environment and the second command will build: +* cmake -A x64 .. +* cmake --build . --config Release -- -maxcpucount +(replace x64 with ARM64 if you're building on ARM64) + +For Linux, run the following to prepare your build environment and the second command will build: +* cmake .. -DCMAKE_BUILD_TYPE=Release +* make -j $(nproc) + +For Mac, if you're using zdoom-macos-deps, simply cd into it and type the following: +* ./build.py --target vkdoom