3 ## -- Command line options
4 while [[ "$#" -gt 1 ]]; do
22 ## -- Check command line options
23 if [ -z "$prefix" ] ; then
24 (>&2 echo "Usage: $0 -prefix [dir] [-cores [n]]")
28 ## -- Complete optional parameters
29 if [ -z "$cores" ] ; then
37 git clone https://github.com/mxe/mxe.git
39 ## -- Create settings.mk
41 echo "MXE_TARGETS := x86_64-w64-mingw32.shared" > settings.mk
44 make -j$cores -k boost qtbase vtk itk