mirror of
https://github.com/swaywm/sway.git
synced 2026-05-04 06:46:25 -04:00
introduce sway_log functions
Introduce the sway_log functions as equivalents of the wlr_log functions. This is a first step to free clients from the wlroots dependency and allows to use the sway source path for file path stripping which should get nicer __FILE__ cleans.
This commit is contained in:
parent
3c77f066a5
commit
1185a8cc1f
3 changed files with 113 additions and 5 deletions
|
|
@ -12,6 +12,7 @@ project(
|
|||
add_project_arguments('-Wno-unused-parameter', language: 'c')
|
||||
add_project_arguments('-Wno-unused-function', language: 'c')
|
||||
add_project_arguments('-Wno-unused-result', language: 'c')
|
||||
add_project_arguments('-DSWAY_SRC_DIR="@0@"'.format(meson.source_root()), language: 'c')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue