Skip to content
Snippets Groups Projects
Commit fd04ef9f authored by MichelJuillard's avatar MichelJuillard
Browse files

fix src/meson.build

parent 14408f28
Branches
Tags
No related merge requests found
...@@ -16,12 +16,11 @@ if not cpp_compiler.has_header('FlexLexer.h') ...@@ -16,12 +16,11 @@ if not cpp_compiler.has_header('FlexLexer.h')
copy = find_program('copy.py') copy = find_program('copy.py')
fs = import('fs') fs = import('fs')
run_command( run_command(
copy, copy,
fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h', fs.parent(fs.parent(flex_exe.full_path())) / 'include' / 'FlexLexer.h',
'FlexLexer.h' 'FlexLexer.h'
) )
# flexlexer_h = '../../src/FlexLexer.h' flexlexer_h = []
flexlexer_h = 'FlexLexer.h'
else else
flexlexer_h = [] flexlexer_h = []
endif endif
...@@ -64,7 +63,7 @@ preprocessor_src = [ 'ComputingTasks.cc', ...@@ -64,7 +63,7 @@ preprocessor_src = [ 'ComputingTasks.cc',
'macro/Environment.cc', 'macro/Environment.cc',
'macro/Expressions.cc', 'macro/Expressions.cc',
'macro/Directives.cc' ] 'macro/Directives.cc' ]
executable('dynare-preprocessor', preprocessor_src, flex_src, flexlexer_h, bison_src, executable('dynare-preprocessor', preprocessor_src, flex_src, flexlexer_h, bison_src,
include_directories : preprocessor_incdir, dependencies : boost_dep, include_directories : preprocessor_incdir, dependencies : boost_dep,
link_args : [], link_args : [],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment