Created
August 24, 2018 19:57
-
-
Save skyzyx/150b706bdc201ffcd3d8952eab859641 to your computer and use it in GitHub Desktop.
Build all of the binaries for the WebP CLI tools.
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
#! /usr/bin/env bash | |
rm -Rf /tmp/libwebp && \ | |
git clone https://github.com/webmproject/libwebp.git /tmp/libwebp && \ | |
mkdir -p /tmp/libwebp/build && \ | |
cd /tmp/libwebp/build && \ | |
cmake -DWEBP_ENABLE_SIMD=ON -DWEBP_BUILD_CWEBP=ON -DWEBP_BUILD_DWEBP=ON -DWEBP_BUILD_GIF2WEBP=ON -DWEBP_BUILD_IMG2WEBP=ON -DWEBP_BUILD_WEBPINFO=ON -DWEBP_NEAR_LOSSLESS=ON ../ && \ | |
make && \ | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment