mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
Add tools/build
This commit is contained in:
parent
a90c5d10e6
commit
6da1b6d6a2
1 changed files with 17 additions and 0 deletions
17
tools/build
Executable file
17
tools/build
Executable file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Automatically build labwc
|
||||||
|
#
|
||||||
|
|
||||||
|
builddir=build-clang
|
||||||
|
|
||||||
|
if ! [ -e subprojects/wlroots ]; then
|
||||||
|
git clone https://github.com/swaywm/wlroots subprojects/wlroots
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if ! [ -e ${builddir} ]; then
|
||||||
|
CC=clang meson -Dwlroots:default_library=static ${builddir}
|
||||||
|
fi
|
||||||
|
|
||||||
|
ninja -C ${builddir}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue