feat(const): added constants class

constants class can parse and get physical constants from datafile including value, unit, uncertainity, and reference
This commit is contained in:
2025-02-11 18:02:07 -05:00
parent 078269fb4a
commit 795ee2e3bf
4 changed files with 666 additions and 27 deletions

18
src/const/meson.build Normal file
View File

@@ -0,0 +1,18 @@
# 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'],
install : true)
# Make headers accessible
install_headers(const_headers, subdir : '4DSSE/const')