The Meson Build System
http://mesonbuild.com/
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.
13 lines
285 B
13 lines
285 B
10 years ago
|
#!/bin/sh
|
||
|
|
||
|
curdir=`pwd`
|
||
|
rm -rf buildtmp
|
||
|
mkdir buildtmp
|
||
10 years ago
|
LDFLAGS=-static-libstdc++ ~/meson/meson.py buildtmp --buildtype=release --prefix=/tmp/myapp --libdir=lib --strip
|
||
10 years ago
|
ninja -C buildtmp install
|
||
|
rm -rf buildtmp
|
||
|
cd /tmp/
|
||
|
tar czf myapp.tar.gz myapp
|
||
|
mv myapp.tar.gz "$curdir"
|
||
|
rm -rf myapp
|