-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
835456b
commit c3d4fae
Showing
3 changed files
with
18 additions
and
57 deletions.
There are no files selected for viewing
Submodule .makefile
updated
20 files
+1 −0 | .gitignore | |
+47 −5 | Makefile.flags | |
+27 −28 | Makefile.footer | |
+28 −0 | Makefile.header | |
+28 −2 | Makefile.macros | |
+28 −6 | README.md | |
+98 −0 | compile-external-libs.sh | |
+52 −0 | download-external-libs.sh | |
+62 −0 | examples/02/Makefile | |
+1 −0 | examples/02/VERSION.txt | |
+6 −0 | examples/02/include/bar.hpp | |
+6 −0 | examples/02/include/foo.hpp | |
+40 −0 | examples/02/src/bar/Makefile | |
+1 −0 | examples/02/src/bar/VERSION.txt | |
+8 −0 | examples/02/src/bar/bar.cpp | |
+40 −0 | examples/02/src/foo/Makefile | |
+1 −0 | examples/02/src/foo/VERSION.txt | |
+7 −0 | examples/02/src/foo/foo.cpp | |
+8 −0 | examples/02/src/main.cpp | |
+11 −2 | examples/README.md |
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 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,33 +1,17 @@ | ||
#!/bin/bash | ||
#!/bin/bash -e | ||
############################################################################### | ||
### This script is called by (cd .. && make download-external-libs). It will | ||
### git clone thirdparts needed for this project but does not compile them. | ||
### It replaces git submodules that I dislike. | ||
############################################################################### | ||
|
||
### This script will git clone some libraries that Zipper needs and | ||
### compile them. To avoid pollution, they are not installed into your | ||
### environement. Therefore Zipper Makefiles have to know where to | ||
### find their files (includes and static/shared libraries). | ||
|
||
### $1 is given by ../Makefile and refers to the current architecture. | ||
if [ "$1" == "" ]; then | ||
echo "Expected one argument. Select the architecture: Linux, Darwin or Windows" | ||
exit 1 | ||
fi | ||
ARCHI="$1" | ||
TARGET=Zipper | ||
|
||
### Delete all previous directories to be sure to have and compile | ||
### fresh code source. | ||
rm -fr backward-cpp zlib-ng minizip 2> /dev/null | ||
|
||
function clone | ||
{ | ||
NAME=`echo "$1" | cut -d"/" -f2` | ||
echo -e "\033[35m*** Cloning:\033[00m \033[36m$TARGET\033[00m <= \033[33m$NAME\033[00m" | ||
git clone --recursive https://github.com/$1.git --depth=1 #> /dev/null 2> /dev/null | ||
} | ||
source ../.makefile/download-external-libs.sh | ||
|
||
### zlib replacement with optimizations for "next generation" systems. | ||
### License: zlib | ||
clone zlib-ng/zlib-ng | ||
cloning zlib-ng/zlib-ng | ||
|
||
### Minizip contrib in zlib with latest bug fixes that supports PKWARE disk spanning, AES encryption, and IO buffering | ||
### Minizip contrib in zlib with latest bug fixes that supports PKWARE disk | ||
### spanning, AES encryption, and IO buffering. | ||
### License: zlib | ||
clone Lecrapouille/minizip | ||
cloning Lecrapouille/minizip |