First commit
This commit is contained in:
37
meson.build
Normal file
37
meson.build
Normal file
@@ -0,0 +1,37 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user