add validate email and generate uuid

This commit is contained in:
chatlanin
2022-06-15 09:36:23 +03:00
parent fa9972b9d5
commit bb49c6f96b
5 changed files with 58 additions and 12 deletions

View File

@@ -1,4 +1,3 @@
# https://pixorblog.wordpress.com/2019/07/27/a-meson-starter-script-for-c-projects
project(
'hack',
'cpp',
@@ -10,25 +9,24 @@ add_project_arguments (
'-Wpedantic',
'-Wshadow',
'-Wno-comment',
#'-Wno-gnu-zero-variadic-macro-arguments',
'-Wno-gnu-zero-variadic-macro-arguments',
'-Wunused-but-set-variable',
language: 'cpp'
)
compiler = meson.get_compiler('cpp')
if compiler.get_id() == 'gcc'
message('Compiler: GCC')
elif compiler.get_id() == 'clang'
message('Compiler: LLVM/clang')
endif
#############################################################
boost_dep = dependency('boost')
args = []
deps = []
deps += boost_dep
args = []
inc = []
deps += dependency('boost')
deps += dependency('uuid')
args += '-luuid'
#############################################################
subdir('src')
subdir('bin')
subdir('tests')