diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-08-12 07:29:57 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-08-12 07:53:21 +0200 |
commit | ceea7dca2f4ff356e136b9a72611b9b66d402eaa (patch) | |
tree | 3e5c51ac871a32833608e5a19a8b1a7d06fd931a /meson.build | |
parent | 486cafa6b447d7af296411f7c50d4c078f3eac34 (diff) | |
download | pdf-simple-sign-ceea7dca2f4ff356e136b9a72611b9b66d402eaa.tar.gz pdf-simple-sign-ceea7dca2f4ff356e136b9a72611b9b66d402eaa.tar.xz pdf-simple-sign-ceea7dca2f4ff356e136b9a72611b9b66d402eaa.zip |
C++: split out a library with a trivial interfaceorigin/c++-libraryc++-library
Closes #2.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
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) |