mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
* Use std::filesystem::path in hyprpm DataState to avoid concatenating strings with (folder + "/" + file) * Added getPluginStates helper method in DataState * Small clang-tidy improvements
33 lines
805 B
Meson
33 lines
805 B
Meson
globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', check: true)
|
|
src = globber.stdout().strip().split('\n')
|
|
|
|
executable(
|
|
'hyprpm',
|
|
src,
|
|
dependencies: [
|
|
dependency('hyprutils', version: '>= 0.1.1'),
|
|
dependency('threads'),
|
|
dependency('tomlplusplus'),
|
|
dependency('glaze', method: 'cmake'),
|
|
],
|
|
install: true,
|
|
)
|
|
|
|
install_data(
|
|
'../hyprpm.bash',
|
|
install_dir: join_paths(get_option('datadir'), 'bash-completion/completions'),
|
|
install_tag: 'runtime',
|
|
rename: 'hyprpm',
|
|
)
|
|
install_data(
|
|
'../hyprpm.fish',
|
|
install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'),
|
|
install_tag: 'runtime',
|
|
)
|
|
install_data(
|
|
'../hyprpm.zsh',
|
|
install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'),
|
|
install_tag: 'runtime',
|
|
rename: '_hyprpm',
|
|
)
|