mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 03:18:59 +00:00
14 lines
298 B
Bash
Executable File
14 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
cd $(dirname $0)/..
|
|
unzip qpdf-external-libs-src.zip
|
|
tar xzf external-libs-src/jpegsrc*
|
|
cd jpeg-*
|
|
./configure
|
|
make -k
|
|
sudo make install
|
|
cd ..
|
|
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build build -j$(sysctl -n hw.ncpu) -- -k
|
|
(cd build; ctest --verbose)
|