3 ## -- Command line options
4 while [[ "$#" -gt 1 ]]; do
26 ## -- Check command line options
27 if [ -z "$prefix" ] ; then
28 (>&2 echo "Usage: $0 -prefix [dir] [-suffix [string]] [-cores [n]]")
32 ## -- Complete optional parameters
33 if [ -z "$cores" ] ; then
36 if [ ! -z "$suffix" ] ; then
37 qt_suffix="-qtlibinfix $suffix"
43 git clone https://github.com/mxe/mxe.git
45 ## -- Create settings.mk
47 echo "MXE_TARGETS := x86_64-w64-mingw32.shared" > settings.mk
50 make -j$cores -k qtbase vtk itk nsis