just copied tinyrwm for now

This commit is contained in:
irisz64
2026-04-05 23:30:45 +02:00
parent 495168e482
commit 9c0b4cc94f
5 changed files with 2864 additions and 0 deletions

39
meson.build Normal file
View File

@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: © 2026 Isaac Freund
# SPDX-License-Identifier: 0BSD
project(
'srwwm',
'c',
meson_version: '>= 1.8.0',
version: '0.1',
default_options: [
'c_std=c99',
'warning_level=3',
],
)
cc = meson.get_compiler('c')
add_project_arguments(cc.get_supported_arguments([
'-D_POSIX_C_SOURCE=200809L',
'-Wno-unused-parameter',
]), language: 'c')
wayland_client = dependency('wayland-client')
xkbcommon = dependency('xkbcommon')
wl_mod = import('wayland')
generated = wl_mod.scan_xml(
'protocol/river-window-management-v1.xml',
'protocol/river-xkb-bindings-v1.xml',
)
exe = executable(
'srwwm',
'src/main.c',
generated,
dependencies: [
wayland_client,
xkbcommon,
],
install: true,
)