37 lines
625 B
Meson
37 lines
625 B
Meson
project(
|
|
'actorfm',
|
|
'cpp',
|
|
version : '0.0.1',
|
|
default_options : ['cpp_std=c++2a']
|
|
)
|
|
|
|
add_project_arguments (
|
|
'-Wpedantic',
|
|
'-Wshadow',
|
|
'-Wno-comment',
|
|
'-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
|
|
|
|
deps = [
|
|
dependency('threads'),
|
|
]
|
|
|
|
inc = []
|
|
inc += include_directories('.', join_paths('.', 'subprojects'))
|
|
|
|
args = []
|
|
hack = subproject('hack')
|
|
deps += hack.get_variable('logger_dep')
|
|
|
|
subdir('src')
|
|
subdir('bin')
|
|
#subdir('tests')
|