From 8045b3f814717eab44718e13c40cc64db833a57a Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Wed, 24 Aug 2022 15:41:06 -0300 Subject: [PATCH] Added Fedora and Arch and ubuntu deps changes formatting of the other deps --- BUILD.md | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/BUILD.md b/BUILD.md index 43e2da6b..120a6b35 100644 --- a/BUILD.md +++ b/BUILD.md @@ -22,23 +22,19 @@ You can also skip steps 3-5 and open the root folder of the cloned repo directly To compile Cemu, a recent enough compiler and STL with C++20 support is required! We use clang 12, other compilers may work as well. For ubuntu and most derivatives: - -1) Make sure vulkansdk is installed and the VULKAN_SDK environment variable is set correctly. -2) `sudo apt install -y libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev clang-12 nasm` -3) Run `git clone --recursive https://github.com/cemu-project/Cemu` -4) `cd Cemu` -5) `mkdir build && cd build` -6) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` -8) `ninja` +`sudo apt install -y libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev freeglut3-dev clang-12 nasm` For Arch and most derivatives: +`sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm` + +For Fedora and most derivatives: +`sudo dnf in -y gtk3-devel libsecret-devel libgcrypt-devel systemd-devel freeglut-devel clang12-libs nasm cmake vcpkg perl-core zlib-devel` 1) Make sure vulkansdk is installed and the VULKAN_SDK environment variable is set correctly. -2) `sudo pacman -S --needed gtk3 libsecret libgcrypt systemd-libs freeglut nasm` -3) Run `git clone --recursive https://github.com/cemu-project/Cemu` -4) `cd Cemu` -5) `mkdir build && cd build` -6) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` -8) `ninja` +2) Run `git clone --recursive https://github.com/cemu-project/Cemu` +3) `cd Cemu` +4) `mkdir build && cd build` +5) `cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -G Ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja` +6) `ninja` Build instructions for other distributions will be added in the future!