mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 01:27:07 +00:00
15 lines
404 B
Bash
Executable File
15 lines
404 B
Bash
Executable File
#!/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
|