diff --git a/README.md b/README.md index e69de29..fa0e642 100644 --- a/README.md +++ b/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 +``` \ No newline at end of file diff --git a/checkout-dev.sh b/checkout-dev.sh index 0e72823..5953eaf 100755 --- a/checkout-dev.sh +++ b/checkout-dev.sh @@ -13,4 +13,4 @@ for d in */; do done cd installation -./build.sh \ No newline at end of file +./update.sh \ No newline at end of file diff --git a/install.sh b/install.sh index 736219a..7906fb7 100755 --- a/install.sh +++ b/install.sh @@ -19,6 +19,7 @@ install_packages() { cd Catch2 cmake -Bbuild -H. -DBUILD_TESTING=OFF sudo cmake --build build/ --target install + cd .. elif [[ ${osInfo[$f]} == 'brew' ]]; then sudo brew install llvm clang make cmake clang-format fltk catch2