1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
project('lpg', 'c', 'cpp', default_options : ['cpp_std=c++17'],
version : '1.1.1')
conf = configuration_data()
conf.set_quoted('PROJECT_NAME', meson.project_name())
conf.set_quoted('PROJECT_VERSION', meson.project_version())
configure_file(output : 'config.h', configuration : conf)
luapp = dependency('lua++', allow_fallback : true)
cairo = dependency('cairo')
pangocairo = dependency('pangocairo')
executable('lpg', 'lpg.cpp', 'libqr.c',
install : true,
dependencies : [luapp, cairo, pangocairo],
include_directories : include_directories('libqr'))
|