forked from RepoMirrors/bemenu
Without `extern`, the changed lines are not declarations, but "tentative definitions" (according to GCC man page, option `-fcommon`). When specified in a header file that is included in more than one `.c` file, these result in linking failure unless `-fcommon` is specified. GCC 10 changed the default from `-fcommon` to `-fno-common`, and as such the previous code no longer links properly. With `extern`, these lines are considered declarations, and the linking proceeds successfully. |
||
---|---|---|
.github | ||
client | ||
CMake | ||
doxygen | ||
lib | ||
man | ||
test | ||
.editorconfig | ||
.gitignore | ||
CMakeLists.txt | ||
LICENSE-CLIENT | ||
LICENSE-LIB | ||
README.md |
bemenu
Dynamic menu library and client program inspired by dmenu
Renderers
bemenu supports three different renderers:
- ncurses
- X11
- Wayland; specifically, wlroots-based compositors
Enable/disable the renderers by appending these CMake options when executing cmake <dir>
:
-DBEMENU_CURSES_RENDERER=[OFF|ON]
-DBEMENU_X11_RENDERER=[OFF|ON]
-DBEMENU_WAYLAND_RENDERER=[OFF|ON]
License
- GNU GPLv3 (or any later version) for client program[s] and other sources except library and bindings
- GNU LGPLv3 (or any later version) for library and bindings