Skip to content
vbextreme edited this page Oct 14, 2018 · 5 revisions

Build wiki

before build check you have dependencies:

ninja meson gperf

first clone project and enter in directory , generate generic config in dir build and enter in build directory

$ git clone https://github.com/vbextreme/vbar.git
$ cd vbar
$ meson build
$ cd build

Optional Settings

Show current configuration

$ meson configure

Select window manager

the build system try to find your window manager, but if you have more wm installed meson get first find.
select from:

i3wm
dwm

configure

$ meson configure -Dwm=i3wm

Disable optimization

default build optimization are enabled, for disable

$ meson configure -Doptimize=0

Disable module

default all module are build, you can disable one or more module
module name:

Mcpu
Mcpufreq
Mdatetime
Mipc
Mmemory
Mnetwork
Mpower
Mstatic
Mtemperature
Mwireless

example, disable cpufreq and wireless

$ meson configure -DMcpufreq=0 -DMwireless=0

Enable debug

default debug are disable. have 4 level of debug:

1 fail
2 error
3 waning
4 info

for enable debug full

meson -Debug=4

if you redirect on pts you can enable color

meson -Dolor=1

Make

$ ninja

Install

installing is optional, you can execute without install.

# ninja install
Clone this wiki locally