Files
ScufCont/meson.build
2026-08-09 16:29:53 +03:00

38 lines
543 B
Meson

project(
'scufcont',
'c',
version: '0.0.1',
default_options: {
'buildtype': 'release'
}
)
c_args = [
'-std=c99',
'-Wall',
'-Wextra',
'-pedantic'
]
cmocka_dep = dependency('cmocka')
scufcont_include = include_directories('include')
scufcont_lib = library(
'scufcont',
'src/DynString.c',
'src/scufcont.c',
include_directories: [
'include'
],
c_args: [
c_args,
'-D_SCUFCONT_VERSION="' + meson.project_version() + '"',
]
)
if get_option('SCUFCONT_BUILD_TESTS') == true
subdir('tests')
endif