1 Star 0 Fork 0

prehonor/wf-config

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
meson.build 1.37 KB
Copy Edit Raw Blame History
project(
'wf-config',
'cpp',
version: '0.9.0',
license: 'MIT',
meson_version: '>=0.47.0',
default_options: [
'cpp_std=c++17',
'warning_level=2',
'werror=false',
],
)
add_project_arguments(['-Wno-deprecated-declarations'], language: ['cpp'])
glm = dependency('glm')
evdev = dependency('libevdev')
libxml2 = dependency('libxml-2.0')
sources = [
'src/types.cpp',
'src/option.cpp',
'src/section.cpp',
'src/log.cpp',
'src/xml.cpp',
'src/config-manager.cpp',
'src/file.cpp',
'src/duration.cpp',
'src/compound-option.cpp',
]
wfconfig_inc = include_directories('include')
lib_wfconfig = library('wf-config',
sources,
dependencies: [evdev, glm, libxml2],
include_directories: wfconfig_inc,
install: true,
version: meson.project_version(),
soversion: '1')
pkgconfig = import('pkgconfig')
pkgconfig.generate(
libraries: lib_wfconfig,
version: meson.project_version(),
filebase: meson.project_name(),
name: meson.project_name(),
description: 'Dynamic file-based configuration library for Wayfire')
install_headers([], subdir: 'wayfire/config')
wfconfig = declare_dependency(link_with: lib_wfconfig,
include_directories: wfconfig_inc,
dependencies: glm)
# Install headers
subdir('include')
# Unit tests
doctest = dependency('doctest', required: get_option('tests'))
if doctest.found()
subdir('test')
endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/github-10784632_admin_admin/wf-config.git
git@gitee.com:github-10784632_admin_admin/wf-config.git
github-10784632_admin_admin
wf-config
wf-config
master

Search