mirror of
https://gitlab.com/Syping/qt5-llvm-mingw-docker.git
synced 2024-11-22 05:40:22 +01:00
12 lines
367 B
Text
12 lines
367 B
Text
|
#!/bin/bash
|
||
|
|
||
|
cmake \
|
||
|
"-DCMAKE_SYSTEM_NAME=Windows" \
|
||
|
"-DCMAKE_SYSTEM_PROCESSOR=amd64" \
|
||
|
"-DCMAKE_C_COMPILER=x86_64-w64-mingw32-clang" \
|
||
|
"-DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-clang++" \
|
||
|
"-DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres" \
|
||
|
"-DCMAKE_PREFIX_PATH=/usr/local/lib/x86_64-w64-mingw32/qt5" \
|
||
|
"-DCMAKE_EXE_LINKER_FLAGS=-static" \
|
||
|
"$@"
|