mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-21 10:00:46 +02:00
Define common_inc which includes both public_inc and the project root directory. The project root directory will allow access to config.h and all the shared/ headers. Replacing all custom '.', '..', '../..', '../shared' etc. include paths with common_inc reduces clutter in the target definitions and enforces the common #include directive style, as e.g. including shared/ headers without the subdirectory name no longer works. Unfortunately this does not prevent one from using private libweston headers with the usual include pattern for public headers. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
16 lines
389 B
Meson
16 lines
389 B
Meson
if get_option('shell-fullscreen')
|
|
srcs_shell_fullscreen = [
|
|
'fullscreen-shell.c',
|
|
fullscreen_shell_unstable_v1_server_protocol_h,
|
|
fullscreen_shell_unstable_v1_protocol_c,
|
|
]
|
|
shared_library(
|
|
'fullscreen-shell',
|
|
srcs_shell_fullscreen,
|
|
include_directories: common_inc,
|
|
dependencies: dep_libweston,
|
|
name_prefix: '',
|
|
install: true,
|
|
install_dir: dir_module_weston
|
|
)
|
|
endif
|