31 lines
717 B
Meson
31 lines
717 B
Meson
project('libstriezel', 'cpp',
|
|
version: '0.1.0',
|
|
meson_version: '>=0.56.0',
|
|
default_options: [
|
|
'buildtype=release',
|
|
'cpp_std=gnu++11',
|
|
'b_ndebug=if-release',
|
|
'c_std=c99',
|
|
],
|
|
license: 'GPL3',
|
|
)
|
|
|
|
pub_inc = include_directories('hash')
|
|
|
|
main_target = library(meson.project_name(),
|
|
'hash/sha1/BufferSourceUtility.cpp',
|
|
'hash/sha1/FileSourceUtility.cpp',
|
|
'hash/sha1/sha1.cpp',
|
|
'hash/sha256/BufferSource.cpp',
|
|
'hash/sha256/BufferSourceUtility.cpp',
|
|
'hash/sha256/FileSource.cpp',
|
|
'hash/sha256/FileSourceUtility.cpp',
|
|
'hash/sha256/MessageSource.cpp',
|
|
'hash/sha256/sha256.cpp',
|
|
install: true,
|
|
)
|
|
|
|
libstriezel_dep = declare_dependency(
|
|
link_with: main_target,
|
|
include_directories: pub_inc,
|
|
)
|