mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Add example/sdl-imageviewer
This commit is contained in:
1 parent
ed67eb86f2
commit
10850c17bc
2 files changed
+362
-1
No files matched your search
+5
-1
@@ -42,7 +42,11 @@ for f in $sources; do
|
||||
if [ $f = imageviewer ]; then
|
||||
# example/imageviewer is unusual in that needs additional libraries.
|
||||
echo "Building gen/bin/example-$f"
|
||||
$CXX -O3 example/$f/*.cc -lxcb -lxcb-image -o gen/bin/example-$f
|
||||
$CXX -O3 example/$f/*.cc -lxcb -lxcb-image -o gen/bin/example-$f
|
||||
elif [ $f = "sdl-imageviewer" ]; then
|
||||
# example/sdl-imageviewer is unusual in that needs additional libraries.
|
||||
echo "Building gen/bin/example-$f"
|
||||
$CXX -O3 example/$f/*.cc -lSDL2 -lSDL2_image -o gen/bin/example-$f
|
||||
elif [ $f = "toy-genlib" ]; then
|
||||
# example/toy-genlib is unusual in that it uses separately compiled
|
||||
# libraries (built by "wuffs genlib", e.g. by running build-all.sh) instead
|
||||
|
||||
Reference in new issue
Block a user