Skip to content
Snippets Groups Projects
Commit 6b7db4c0 authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

fix windows examples

parent 94e355db
Branches
Tags
1 merge request!18Fix some build system related issues
...@@ -65,18 +65,18 @@ Unfortunately, the cmp\_tool does not support the Microsoft MSVC compiler. To bu ...@@ -65,18 +65,18 @@ Unfortunately, the cmp\_tool does not support the Microsoft MSVC compiler. To bu
For this, you need the [Mingw-w64 toolchain](https://www.mingw-w64.org/downloads/). To compile on Windows, do this in the Cygwin64 Terminal: For this, you need the [Mingw-w64 toolchain](https://www.mingw-w64.org/downloads/). To compile on Windows, do this in the Cygwin64 Terminal:
``` ```
meson setup buiddir_win --native-file=mingw-w64-64.txt meson setup builddir_win --native-file=mingw-w64-64.txt
cd buiddir_win cd builddir_win
meson compile meson compile cmp_tool
``` ```
### Cross-compile for Windows ### Cross-compile for Windows
Cross-compile for Windows is also possible with the [Mingw-w64 toolchain](https://www.mingw-w64.org/downloads/). To cross-compile for Windows use the following commands: Cross-compile for Windows is also possible with the [Mingw-w64 toolchain](https://www.mingw-w64.org/downloads/). To cross-compile for Windows use the following commands:
``` ```
meson setup buiddir_cross_win --cross-file=mingw-w64-64.txt meson setup builddir_cross_win --cross-file=mingw-w64-64.txt
cd buiddir_cross_win cd builddir_cross_win
meson compile meson compile cmp_tool
``` ```
## Tests ## Tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment