From c0bc9fc3a99b2e5710e92597a723d3db1b9e638c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 7 Feb 2020 18:01:50 +0100 Subject: Remove install script. Use cmake/install.sh instead --- README.md | 2 +- install.sh | 32 -------------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100755 install.sh diff --git a/README.md b/README.md index b112b45..3a78c10 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ The best way to do this is to create another git project for the dependency and Using sub projects allows you to modify dependency and propagate changes to dependant project without pushing changes to remote git repository (faster development). ## lang.* Optional. Allows you to change language specific configuration. \[lang.c] is for C and \[lang.cpp] is for C++. -Version specifies the language version, for \[lang.c] the version can be ansi, c89, c99 or c11 - if not set, c11 will be used. +Version specifies the language version, for \[lang.c] the version can be ansi (alias for c89), c89, c99 or c11 - if not set, c11 will be used. For \[lang.cpp] the version can be c++11, c++14 or c++17 - if not set, c++14 will be used ## define Optional. A list of definitions which are specified in name-value pairs where the name is the preprocessor to define (in c: #define name value) diff --git a/install.sh b/install.sh deleted file mode 100755 index 05c6b8f..0000000 --- a/install.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -set -e - -case "$(uname -s)" in - Linux*) - bin_dir="/usr/bin" - ;; - Darwin*) - bin_dir="/usr/local/bin" - export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig/" - ;; - OpenBSD*) - bin_dir="/usr/local/bin" - ;; - CYGWIN*) - bin_dir="/usr/bin" - sudo() { - "$@" - } - ;; - *) - echo "The install file can only be run on linux, mac and openbsd" && exit 1 - ;; -esac - -project_dir=`dirname $0` -sibs build $project_dir --release -platform=`sibs platform` -sudo cp "$project_dir/sibs-build/$platform/release/sibs" "$bin_dir/sibs" -echo "Copied $project_dir/sibs-build/$platform/release/sibs to $bin_dir/sibs" -echo "Installation successful!" -- cgit v1.2.3