1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-25 14:06:08 -05:00
picom/tools/meson.build
Yuxuan Shui f3b2db1090
tools: add animgen
Add a tool to generate C function from a compiled animation script.
The generated function will reproduce the animation script when called.

The goal is to implement animation presets. Instead of creating strings
and then compile them into scripts, by using these generated function,
we can skip the parsing step and create compiled scripts directly.

Placeholders are supported in the preset script, so some configurability
still exists even when using presets.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-08-06 01:15:44 +01:00

8 lines
201 B
Meson

executable(
'animgen',
'animgen.c',
dependencies: [ base_deps, libconfig_dep, test_h_dep, cc.find_library('m')],
link_with: [libtools],
build_by_default: false,
include_directories: picom_inc,
)