const needds to be accessed all throughout so it has been changed to a singleton to allow for more efficient usage BREAKING CHANGE: Any previous loads to const will break, also constant->Constant and constants->Constants
19 lines
486 B
Meson
19 lines
486 B
Meson
# Define the library
|
|
const_sources = files(
|
|
'private/const.cpp',
|
|
)
|
|
|
|
const_headers = files(
|
|
'public/const.h'
|
|
)
|
|
|
|
# Define the libconst library so it can be linked against by other parts of the build system
|
|
libconst = library('const',
|
|
const_sources,
|
|
include_directories: include_directories('public'),
|
|
cpp_args: ['-fvisibility=default'],
|
|
dependencies: [const_dep],
|
|
install : true)
|
|
|
|
# Make headers accessible
|
|
install_headers(const_headers, subdir : '4DSSE/const') |