-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add autoconf-style helpers; Add authors
- Loading branch information
1 parent
606a977
commit ea2424c
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmake.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmake.sh |