build(root): added initial meson build system implimentation and mk script
we will use meson as the build system for this project. Added a rough outline of this which builds source, libraries, and links them to tests (along with the google test library for testing). meson will be setup and compiled with ./mk.
This commit is contained in:
18
src/meson.build
Normal file
18
src/meson.build
Normal file
@@ -0,0 +1,18 @@
|
||||
# Define the library
|
||||
dobj_sources = files(
|
||||
'dobj/private/Metadata.cpp'
|
||||
)
|
||||
|
||||
dobj_headers = files(
|
||||
'dobj/public/Metadata.h'
|
||||
)
|
||||
|
||||
# Define the libdobj library so it can be linked against by other parts of the build system
|
||||
libdobj = library('dobj',
|
||||
dobj_sources,
|
||||
include_directories: include_directories('dobj/public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
install : true)
|
||||
|
||||
# Make headers accessible
|
||||
install_headers(dobj_headers, subdir : '4DSSE/dobj')
|
||||
Reference in New Issue
Block a user