1 Star 0 Fork 0

prehonor/wcm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
meson.build 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
project('wcm', 'c', 'cpp', version : '0.9.0', default_options : 'cpp_std=c++17')
add_global_arguments('-DWAYFIRE_CONFIG_FILE="' + get_option('wayfire_config_file_path') + '"', language : 'cpp')
add_global_arguments('-DWF_SHELL_CONFIG_FILE="' + get_option('wf_shell_config_file_path') + '"', language : 'cpp')
wayfire = dependency('wayfire')
wf_shell = dependency('wf-shell', required : get_option('wf_shell'))
wayfire_metadata_dir = wayfire.get_variable(pkgconfig: 'metadatadir')
wayfire_sysconf_dir = wayfire.get_variable(pkgconfig: 'sysconfdir')
share_dir = join_paths(get_option('prefix'), 'share')
icon_dir = join_paths(share_dir, 'wayfire', 'icons')
add_global_arguments('-DWAYFIRE_METADATADIR="' + wayfire_metadata_dir + '"', language : 'cpp')
add_global_arguments('-DWAYFIRE_SYSCONFDIR="' + wayfire_sysconf_dir + '"', language : 'cpp')
if wf_shell.found()
wf_shell_metadata_dir = wf_shell.get_variable(pkgconfig: 'metadatadir')
wf_shell_sysconf_dir = wf_shell.get_variable(pkgconfig: 'sysconfdir')
add_project_arguments('-DHAVE_WFSHELL=1', language : 'cpp')
add_global_arguments('-DWFSHELL_METADATADIR="' + wf_shell_metadata_dir + '"', language : 'cpp')
add_global_arguments('-DWFSHELL_SYSCONFDIR="' + wf_shell_sysconf_dir + '"', language : 'cpp')
endif
add_global_arguments('-DICONDIR="' + icon_dir + '"', language : 'cpp')
dependency('pkg-config', required : true)
evdev = dependency('libevdev')
add_project_arguments('-DICONDIR="' + icon_dir + '"', language : 'cpp')
if get_option('enable_wdisplays') == true
wdisplays = subproject('wdisplays')
endif
subdir('icons')
subdir('proto')
subdir('src')
install_data('wayfire-config-manager.desktop', install_dir: join_paths(share_dir, 'applications'))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/github-10784632_admin_admin/wcm.git
git@gitee.com:github-10784632_admin_admin/wcm.git
github-10784632_admin_admin
wcm
wcm
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385