mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01: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
|