mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
15 lines
404 B
Plaintext
15 lines
404 B
Plaintext
|
#!/bin/bash
|
||
|
set -e
|
||
|
sudo apt-get update
|
||
|
sudo apt-get -y install \
|
||
|
build-essential cmake \
|
||
|
zlib1g-dev libjpeg-dev libgnutls28-dev libssl-dev
|
||
|
cmake -S . -B build \
|
||
|
-DCXX_NEXT=ON \
|
||
|
-DCI_MODE=1 -DBUILD_STATIC_LIBS=0 -DCMAKE_BUILD_TYPE=Release \
|
||
|
-DREQUIRE_CRYPTO_OPENSSL=1 -DREQUIRE_CRYPTO_GNUTLS=1 \
|
||
|
-DENABLE_QTC=1
|
||
|
cmake --build build --verbose -j$(nproc) -- -k
|
||
|
cd build
|
||
|
ctest --verbose
|