Skip to content
Snippets Groups Projects
Commit 7f229d04 authored by Lukas Weber's avatar Lukas Weber
Browse files

make H5pubconf.h available to other projects somehow

parent d26515f4
No related branches found
No related tags found
No related merge requests found
......@@ -468,10 +468,7 @@ if cc.compiles('__inline__ int a(void) {}', name : '__inline__')
stupidchecks.set('H5_HAVE___INLINE__',1)
endif
h5pubconf_h = configure_file(input : 'config/cmake/H5pubconf.h.in',
output : 'H5pubconf.h',
configuration : stupidchecks)
subdir('src')
hdf5_dep = declare_dependency(include_directories : [ 'src' ], link_with : hdf5, version : meson.project_version())
hdf5_dep = declare_dependency(sources : [h5pubconf_h], include_directories : [ 'src' ], link_with : hdf5, version : meson.project_version())
......@@ -475,7 +475,7 @@ common_srcs += h5vm_sources
common_srcs += h5wb_sources
common_srcs += h5z_sources
gen_incdir = include_directories(['.', '..'])
gen_incdir = include_directories(['.'])
h5detect = executable('H5detect', 'H5detect.c', native : true, include_directories : gen_incdir)
h5tinit_c = custom_target(
......@@ -484,6 +484,10 @@ h5tinit_c = custom_target(
command : [h5detect, '@OUTPUT@'],
)
h5pubconf_h = configure_file(input : '../config/cmake/H5pubconf.h.in',
output : 'H5pubconf.h',
configuration : stupidchecks)
h5make_libsettings = executable('H5make_libsettings', 'H5make_libsettings.c', native : true, include_directories : gen_incdir)
h5lib_settings_c = custom_target(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment