mirror of
https://github.com/swaywm/sway.git
synced 2024-11-27 02:11:28 +00:00
17 lines
432 B
Bash
Executable file
17 lines
432 B
Bash
Executable file
#!/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
|
|
sudo make install # - install
|
|
|
|
cd ../..
|
|
|
|
# build sway
|
|
cmake .
|
|
make
|