add install script

This commit is contained in:
Malte Jürgens 2022-07-16 22:32:01 +02:00
parent d57155b25d
commit 504d655de6
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
2 changed files with 8 additions and 5 deletions

7
README
View File

@ -1,9 +1,6 @@
-- Build instructions --
-- Install instructions --
mkdir build
cd build
cmake ../
make
Just run `scripts/install.sh`
./discord-screenaudio

6
scripts/install.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/bash
export CMAKE_GENERATOR="Ninja"
cmake -B build
cmake --build build --config Release
sudo cmake --install build