eo-classes: Update meson usage to build correct paths
This commit is contained in:
parent
1f0b3626ba
commit
693845d2cc
|
@ -12,10 +12,11 @@ foreach eo : eo_src
|
||||||
input : eo_file,
|
input : eo_file,
|
||||||
output : [eo_file + '.h'],
|
output : [eo_file + '.h'],
|
||||||
command : [eolian_gen, '-I', eolian.get_pkgconfig_variable('eoincludedir'),
|
command : [eolian_gen, '-I', eolian.get_pkgconfig_variable('eoincludedir'),
|
||||||
'-I', meson.source_root() + '/src',
|
'-I', meson.current_source_dir(),
|
||||||
'-gchi', '-o', 'h:' + eo_file + '.h',
|
'-gchi',
|
||||||
'-o', 'i:' + meson.source_root() + '/src/' + eo + '.c',
|
'-o', 'i:' + join_paths(meson.current_source_dir(), eo + '.c'),
|
||||||
'-o', 'c:' + eo_file + '.c', '@INPUT@'])
|
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
|
||||||
|
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), '@INPUT@'])
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
src = files([
|
src = files([
|
||||||
|
|
Loading…
Reference in New Issue