From 504d655de662db93be1557beb3fa166094a100d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 16 Jul 2022 22:32:01 +0200 Subject: [PATCH] add install script --- README | 7 ++----- scripts/install.sh | 6 ++++++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 scripts/install.sh diff --git a/README b/README index 24f6f10..2c2dd53 100644 --- a/README +++ b/README @@ -1,9 +1,6 @@ --- Build instructions -- +-- Install instructions -- -mkdir build -cd build -cmake ../ -make +Just run `scripts/install.sh` ./discord-screenaudio diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100755 index 0000000..e7e393e --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,6 @@ +#!/usr/bin/bash + +export CMAKE_GENERATOR="Ninja" +cmake -B build +cmake --build build --config Release +sudo cmake --install build