qt5-llvm-mingw-docker/shared/mingw64-qt-cmake
2021-02-17 22:48:08 +01:00

10 lines
327 B
Bash
Executable file

#!/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" \
"$@"