From 7aa1e5dd3d80e2664eac7eb0a409829e9785a521 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 8 Jan 2025 10:54:40 +0100 Subject: WIP: Add a Lua PDF generator Because Lua compiled for C++ might be hard to find, provide a wrap. Only GitHub releases seem to contain onelua.c, which is a very handy file. WIP: Add documentation, actually get rid of the libqr copy. --- lpg/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lpg/meson.build (limited to 'lpg/meson.build') diff --git a/lpg/meson.build b/lpg/meson.build new file mode 100644 index 0000000..b8d506c --- /dev/null +++ b/lpg/meson.build @@ -0,0 +1,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')) -- cgit v1.2.3-70-g09d2