feat(reflect-cpp): Switched from glaze -> reflect cpp
A bug was discovered in glaze which prevented valid toml output. We have switched to toml++ and reflect-cpp. The interface has remained the same so this should not break any code
This commit is contained in:
@@ -1,27 +1,11 @@
|
||||
# Define the library
|
||||
config_sources = files(
|
||||
'lib/config.cpp',
|
||||
)
|
||||
|
||||
|
||||
# Define the libconfig library so it can be linked against by other parts of the build system
|
||||
#libconfig = library('config',
|
||||
# config_sources,
|
||||
# include_directories: include_directories('include'),
|
||||
# cpp_args: ['-fvisibility=default'],
|
||||
# dependencies: [yaml_cpp_dep, glaze_dep],
|
||||
# install : true)
|
||||
|
||||
config_dep = declare_dependency(
|
||||
include_directories: include_directories('include'),
|
||||
# link_with: libconfig,
|
||||
# sources: config_sources,
|
||||
dependencies: [glaze_dep],
|
||||
dependencies: [reflect_cpp_dep],
|
||||
)
|
||||
|
||||
# Make headers accessible
|
||||
config_headers = files(
|
||||
'include/fourdst/config/config.h',
|
||||
'include/fourdst/config/registry.h',
|
||||
'include/fourdst/config/exceptions/exceptions.h',
|
||||
'include/fourdst/config/base.h',
|
||||
)
|
||||
install_headers(config_headers, subdir : 'fourdst/fourdst/config')
|
||||
|
||||
Reference in New Issue
Block a user