diff --git a/meson.build b/meson.build index fb0f891202d7f5563327a122b2d527509661cf89..15926707461107c26b930c8e150a922e92bc01a6 100644 --- a/meson.build +++ b/meson.build @@ -21,9 +21,14 @@ c_compiler = meson.get_compiler('c') subdir('preprocessor/src') -# Compatibility symlink -# NB: the following my be improved if this wishlist item is done: +# NB: the following two symlinks my be improved if this wishlist item is done: # https://github.com/mesonbuild/meson/issues/11519 + +install_symlink('dynare-preprocessor', install_dir : 'lib/dynare/preprocessor/', + pointing_to : '../../../bin/dynare-preprocessor' + + (host_machine.system() == 'windows' ? '.exe' : '')) + +# Compatibility symlink install_symlink('dynare_m' + (host_machine.system() == 'windows' ? '.exe' : ''), install_dir : 'lib/dynare/matlab/preprocessor64', pointing_to : '../../../../bin/dynare-preprocessor'