diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-04-20 15:17:51 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-05-06 23:04:11 +0300 |
| commit | f9200ca8f7429d614dcb8c4144269461c6a7d9d9 (patch) | |
| tree | 192030b5e3d301e3a5be272ecfd2e4ca2ab1b267 /docs/markdown | |
| parent | 1e4d4fce2250ab415964ad89c1d8b2c649b0b00d (diff) | |
| download | meson-f9200ca8f7429d614dcb8c4144269461c6a7d9d9.tar.gz | |
devenv: Set WINEPATH when cross compiling for Windows
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Commands.md | 6 | ||||
| -rw-r--r-- | docs/markdown/snippets/devenv_winepath.md | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index b1371663f..762cd2f0c 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -351,4 +351,10 @@ top build directory, that file is loaded by gdb automatically. In the case of python scripts that needs to load other python modules, `PYTHONPATH` may need to be modified using `meson.add_devenv()`. +Since *Since 0.63.0* when cross compiling for Windows `WINEPATH` is used instead +of `PATH` which allows running Windows executables using wine. Note that since +`WINEPATH` size is currently limited to 1024 characters, paths relative to the +root of build directory are used. That means current workdir must be the root of +build directory when running wine. + {{ devenv_arguments.inc }} diff --git a/docs/markdown/snippets/devenv_winepath.md b/docs/markdown/snippets/devenv_winepath.md new file mode 100644 index 000000000..b9e24a0e5 --- /dev/null +++ b/docs/markdown/snippets/devenv_winepath.md @@ -0,0 +1,4 @@ +## Running Windows executables with Wine in `meson devenv` + +When cross compiling for Windows, `meson devenv` now sets `WINEPATH` pointing to +all directories containing needed DLLs and executables. |
