add validate email and generate uuid
This commit is contained in:
22
meson.build
22
meson.build
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user