-
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the (unmaintained) Autotools build method. (#4511)
* Remove the autotools build system.
- Loading branch information
1 parent
d4c1ba4
commit 2e0115a
Showing
21 changed files
with
45 additions
and
1,790 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -1,12 +1,16 @@ | ||
| #! /bin/bash | ||
|
|
||
| if [ -z "$1" ] || [ "$1" == "automake" ]; then | ||
| autoreconf -fvi | ||
| elif [ "$1" == "cmake" ]; then | ||
| shift 1 | ||
| mkdir -p build; cd build | ||
| cmake .. "$@" | ||
| else | ||
| echo "Unknown build method $1" | ||
| echo "Available options are 'automake' (default) or 'cmake'" | ||
| CMAKE_OPTS=("-DCMAKE_EXPORT_COMPILE_COMMANDS=1") | ||
|
|
||
| if [ "$1" = "thirdparty" ]; then | ||
| shift 1 | ||
| cd pioneer-thirdparty/ && autoconf && ./configure && make assimp && make sdl2 && make sdl2_image && cd ../ | ||
| CMAKE_OPTS+=("-DUSE_PIONEER_THIRDPARTY=1") | ||
| elif [ "$1" = "cmake" ]; then | ||
| shift 1 | ||
| fi | ||
|
|
||
| CMAKE_OPTS+=("$@") | ||
|
|
||
| mkdir -p build; cd build | ||
| cmake .. "${CMAKE_OPTS[@]}" |
Oops, something went wrong.