build(const_data_dep): updated const header dep to be called const_data_dep
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
data_file = files('const.dat')
|
||||
command_file = files('format.sh')
|
||||
output_file = meson.current_build_dir() + '/embedded_constants.h'
|
||||
message('Data file absolute path: ' + data_file[0].full_path())
|
||||
message('Meson source directory: ' + meson.current_source_dir())
|
||||
message('Meson build directory: ' + meson.current_build_dir())
|
||||
|
||||
embedded_constants_h = custom_target('embed_constants',
|
||||
input: data_file,
|
||||
@@ -12,9 +9,9 @@ embedded_constants_h = custom_target('embed_constants',
|
||||
)
|
||||
|
||||
# Ensure the generated header is included
|
||||
const_header = include_directories('.')
|
||||
const_data_header = include_directories('.')
|
||||
|
||||
const_dep = declare_dependency(
|
||||
include_directories: const_header,
|
||||
const_data_dep = declare_dependency(
|
||||
include_directories: const_data_header,
|
||||
sources: embedded_constants_h
|
||||
)
|
||||
Reference in New Issue
Block a user