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:
Markus Ongyerth 2018-05-24 21:43:56 +02:00
parent 3c77f066a5
commit 1185a8cc1f
3 changed files with 113 additions and 5 deletions

View file

@ -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')