just copied tinyrwm for now
This commit is contained in:
39
meson.build
Normal file
39
meson.build
Normal 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,
|
||||
)
|
||||
Reference in New Issue
Block a user