Files
ScufCont/meson.build

38 lines
541 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/DString.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