You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
350 B
20 lines
350 B
#!/usr/bin/env bash |
|
|
|
# Build for macOS, without GTK and without Poppler |
|
|
|
if [ $# -eq 0 ] |
|
then |
|
echo 'Please provide the path of your gtk installation' |
|
exit 1 |
|
fi |
|
|
|
export PATH="$HOME/.local/bin:$1/inst/bin:$PATH" |
|
|
|
mkdir -p ../build |
|
cd ../build/ |
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$1/inst .. |
|
make -j 4 |
|
make install |
|
|
|
cd ../mac-setup/ |
|
./build-app.sh $1
|
|
|