mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
16 lines
432 B
Bash
Executable file
16 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
|