18 lines
466 B
Meson
18 lines
466 B
Meson
inc = include_directories('.')
|
|
|
|
lib_okaestne_log = both_libraries('okaestne-log',
|
|
'Log.cpp',
|
|
include_directories: inc,
|
|
cpp_args: ['-O2', '-std=c++11', '-Wall', '-Wextra', '-pedantic-errors', '-g']
|
|
)
|
|
|
|
# to depend on in other projects:
|
|
okaestne_log_static_dep = declare_dependency(
|
|
link_with: lib_okaestne_log,
|
|
include_directories: inc
|
|
)
|
|
okaestne_log_shared_dep = declare_dependency(
|
|
link_with: lib_okaestne_log,
|
|
include_directories: inc
|
|
)
|