parent
c9a9ed8305
commit
109fcf0898
44
README.md
44
README.md
|
@ -0,0 +1,44 @@
|
||||||
|
# vKVM Scripts
|
||||||
|
|
||||||
|
install & build all subprojects with one script
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- *nix operating system
|
||||||
|
- package manager (either apt, pacman or homebrew)
|
||||||
|
- git
|
||||||
|
- a c++14 compatible compiler
|
||||||
|
- ssh key added to your gitlab profile
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
|
||||||
|
**install**
|
||||||
|
|
||||||
|
run this once in a empty directory.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone ssh://git@gitlab.repo.digitech.hs-emden-leer.de:2222/link/projekte/ws19/vkvm-new/installation.git
|
||||||
|
cd installation
|
||||||
|
./install.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
**update all subprojects**
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./update.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
**checkout development versions**
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./checkout-dev.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
**build all projects**
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./build.sh
|
||||||
|
```
|
|
@ -13,4 +13,4 @@ for d in */; do
|
||||||
done
|
done
|
||||||
|
|
||||||
cd installation
|
cd installation
|
||||||
./build.sh
|
./update.sh
|
|
@ -19,6 +19,7 @@ install_packages() {
|
||||||
cd Catch2
|
cd Catch2
|
||||||
cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
||||||
sudo cmake --build build/ --target install
|
sudo cmake --build build/ --target install
|
||||||
|
cd ..
|
||||||
|
|
||||||
elif [[ ${osInfo[$f]} == 'brew' ]]; then
|
elif [[ ${osInfo[$f]} == 'brew' ]]; then
|
||||||
sudo brew install llvm clang make cmake clang-format fltk catch2
|
sudo brew install llvm clang make cmake clang-format fltk catch2
|
||||||
|
|
Loading…
Reference in New Issue