]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
add cross compile for windows
authorBastian Dehn <hhaalo@arcor.de>
Sat, 15 Jun 2024 07:13:35 +0000 (09:13 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 15 Jun 2024 07:13:35 +0000 (09:13 +0200)
readme.md

index 82371a697fea11d4a0ff4fc57ce7cd23b38bd312..abb8177cd9857cc9ce665803387be7535e045615 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -29,4 +29,12 @@ make
 mkdir build && cd build
 cmake -DCMAKE_BUILD_TYPE=Debug ..
 make
+```
+
+### Cross compile für Windows
+
+```bash
+mkdir build && cd build
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc ..
+make
 ```
\ No newline at end of file