fix(headers): moved all headers to fourdst/
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <set>
|
||||
|
||||
|
||||
#include "const.h"
|
||||
#include "fourdst/constants/const.h"
|
||||
#include "embedded_constants.h" // Generated at build time by meson
|
||||
|
||||
namespace fourdst::constant {
|
||||
@@ -1,24 +1,24 @@
|
||||
# Define the library
|
||||
const_sources = files(
|
||||
'private/const.cpp',
|
||||
'lib/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'),
|
||||
include_directories: include_directories('include'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
dependencies: [const_data_dep],
|
||||
install : true)
|
||||
|
||||
const_dep = declare_dependency(
|
||||
include_directories: include_directories('public'),
|
||||
include_directories: include_directories('include'),
|
||||
link_with: libconst,
|
||||
)
|
||||
|
||||
# Make headers accessible
|
||||
const_headers = files(
|
||||
'include/fourdst/constants/const.h'
|
||||
)
|
||||
install_headers(const_headers, subdir : 'fourdst/fourdst/constants')
|
||||
|
||||
Reference in New Issue
Block a user