2015-09-05 03:38:19 +10:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# clone and build wlc
|
|
|
|
git clone https://github.com/Cloudef/wlc.git
|
|
|
|
cd wlc
|
|
|
|
git submodule update --init --recursive # - initialize and fetch submodules
|
|
|
|
mkdir target && cd target # - create build target directory
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Upstream .. # - run CMake
|
|
|
|
make # - compile
|
2015-09-05 05:08:44 +10:00
|
|
|
sudo make install # - install
|
2015-09-05 03:38:19 +10:00
|
|
|
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
# build sway
|
2015-09-05 05:08:44 +10:00
|
|
|
cmake .
|
2015-09-05 03:38:19 +10:00
|
|
|
make
|