From ceea7dca2f4ff356e136b9a72611b9b66d402eaa Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 12 Aug 2020 07:29:57 +0200 Subject: C++: split out a library with a trivial interface Closes #2. --- meson.build | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 0446cc3..6544cdb 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,12 @@ project('pdf-simple-sign', 'cpp', default_options : ['cpp_std=c++11']) cryptodep = dependency('libcrypto') -executable('pdf-simple-sign', 'pdf-simple-sign.cpp', + +executable('pdf-simple-sign', 'pdf-simple-sign.cpp', 'pdf.cpp', + install : true, + dependencies : cryptodep) + +install_headers('pdf-simple-sign.h') +library('pdf-simple-sign', 'pdf.cpp', + soversion : 0, install : true, dependencies : cryptodep) -- cgit v1.2.3-54-g00ecf