Skip to content

Commit

Permalink
Add autoconf-style helpers; Add authors
Browse files Browse the repository at this point in the history
  • Loading branch information
TinoDidriksen committed Nov 27, 2020
1 parent 606a977 commit ea2424c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
2020, Daniel Swanson <awesomeevildudes@gmail.com>
2020, Tino Didriksen <mail@tinodidriksen.com>
2015-2019, Kevin Brubeck Unhammer <unhammer@fsfe.org>
2017, Sushain Cherivirala <sushain@skc.name>
1 change: 1 addition & 0 deletions autogen.sh
31 changes: 31 additions & 0 deletions cmake.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
set -e
args=()

while [[ $# > 0 ]];
do
case "$1" in
--prefix)
args+=("-DCMAKE_INSTALL_PREFIX=$2")
shift 2
;;
--prefix=*)
args+=("-DCMAKE_INSTALL_PREFIX=${1#*=}")
shift
;;
*)
args+=("$1")
shift
;;
esac
done

set -- "${args[@]}"

D=$(dirname "$0")

echo "- rm -rf CMake caches"
rm -rf install_manifest.txt CMakeCache.txt *.cmake CMakeFiles [sp]*/CMakeFiles [sp]*/*.cmake _CPack_Packages Testing test/T_*/grammar.cg3b
echo "- cmake " "$@" "$D"
cmake "$@" "$D"
echo "- You may now perform: make -j3"
1 change: 1 addition & 0 deletions configure

0 comments on commit ea2424c

Please sign in to comment.