diff --git a/src/meson.build b/src/meson.build index 63c10ba87794333557635b4fccda8de948f102b0..6b669b236199c534bccce220564f92189cf33bb7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -16,12 +16,11 @@ if not cpp_compiler.has_header('FlexLexer.h') copy = find_program('copy.py') fs = import('fs') run_command( - copy, - fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h', - 'FlexLexer.h' - ) -# flexlexer_h = '../../src/FlexLexer.h' - flexlexer_h = 'FlexLexer.h' + copy, + fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h', + 'FlexLexer.h' + ) + flexlexer_h = '../build-julia/src/FlexLexer.h' else flexlexer_h = [] endif @@ -64,7 +63,7 @@ preprocessor_src = [ 'ComputingTasks.cc', 'macro/Environment.cc', 'macro/Expressions.cc', 'macro/Directives.cc' ] - + executable('dynare-preprocessor', preprocessor_src, flex_src, flexlexer_h, bison_src, include_directories : preprocessor_incdir, dependencies : boost_dep, link_args : [],