mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Add example/imageviewer
This commit is contained in:
1 parent
2be1f63806
commit
8f1fe43abf
2 files changed
+451
No files matched your search
@@ -43,6 +43,10 @@ for f in $sources; do
|
||||
echo "Building gen/bin/example-$f"
|
||||
# example/crc32 is unusual in that it's C++, not C.
|
||||
$CXX -O3 example/$f/*.cc -o gen/bin/example-$f
|
||||
elif [ $f = imageviewer ]; then
|
||||
# example/imageviewer is unusual in that needs additional libraries.
|
||||
echo "Building gen/bin/example-$f"
|
||||
$CC -O3 example/$f/*.c -lxcb -lxcb-image -o gen/bin/example-$f
|
||||
elif [ $f = library ]; then
|
||||
# example/library is unusual in that it uses separately compiled libraries
|
||||
# (built by "wuffs genlib", e.g. by running build-all.sh) instead of
|
||||
|
||||
Reference in new issue
Block a user