From 6f783c4ea2bb9ec57ec880efcdcfa0ced80f6935 Mon Sep 17 00:00:00 2001 From: Karutoh Date: Mon, 5 Feb 2024 22:37:30 -0800 Subject: [PATCH] Adjusted workflow. --- README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3f43c79..e85f8c0 100644 --- a/README.md +++ b/README.md @@ -47,18 +47,18 @@ This project does not fully follow the C++ standard. # Compiling ## Prerequisites -### Windows -- [Visual Studio Community](https://visualstudio.microsoft.com/vs/community/) -- [Netwide Assembler](https://www.nasm.us/) -- [CMake](https://cmake.org/) -- [vcpkg](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-cmd) - ### Linux - **Arch Linux**: `sudo pacman -S gcc nasm cmake alsa-lib libxcb xcb-util-cursor` - **Debian Linux**: `sudo apt install gcc nasm cmake libasound2-dev libxcb1-dev libxcb-xinput-dev libxcb-cursor-dev` For building on the Raspberry Pi instead of the Netwide Assembler (NASM), GCC's Assembler is used. +### Windows +- [Visual Studio Community](https://visualstudio.microsoft.com/vs/community/) +- [Netwide Assembler](https://www.nasm.us/) +- [CMake](https://cmake.org/) +- [vcpkg](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-cmd) + ## Building ### Linux 1. `cmake -DCMAKE_BUILD_TYPE=Release -DLINUX_WINDOW_SYSTEM:STRING=XCB /path/to/source` @@ -71,6 +71,15 @@ Wayland Window System. Wayland support is currently not fully supported yet, use 1. `cmake -A x64 -DCMAKE_BUILD_TYPE=Release --preset=default .` 2. `cmake --build build --config Release` +## Installing +### Linux +`sudo cmake --install . --prefix /usr/local` + +### Windows +`cmake --install . --prefix "C:/Program Files/EHS"` + +This will require the terminal to be running in administrator mode. + # Simple Example ```cpp #include