Skip to content

Instantly share code, notes, and snippets.

@krofna
Created June 1, 2013 21:36
Show Gist options
  • Save krofna/5691804 to your computer and use it in GitHub Desktop.
Save krofna/5691804 to your computer and use it in GitHub Desktop.
#!/bin/bash
export PATH=/home/krofna/Development/mxe/usr/bin
i686-pc-mingw32-g++ -std=c++11 -static Client/*.cpp Shared/*.cpp \
-o client.exe -I Client/ -I . \
-D BOOST_THREAD_USE_LIB -mwindows -lgdiplus \
-D_WIN32_WINNT=0x0501 -lboost_thread_win32-mt -lboost_system-mt \
-lmingw32 -lqtmain -lQtGui -lpq -lodbc32 -lnettle -lgmp -liconv \
-lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 \
-lmng -llcms -ltiff -llzma -ljpeg -lQtCore -lpng -lole32 -luuid \
-lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lz \
-L /home/krofna/Development/mxe/usr/i686-pc-mingw32/lib \
-I /home/krofna/Development/mxe/usr/i686-pc-mingw32/qt/include/Qt/ \
-I /home/krofna/Development/mxe/usr/i686-pc-mingw32/qt/include/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment