Skip to content

Instantly share code, notes, and snippets.

@kostyll
Last active November 27, 2015 10:15
Show Gist options
  • Select an option

  • Save kostyll/8783023da630860c86b9 to your computer and use it in GitHub Desktop.

Select an option

Save kostyll/8783023da630860c86b9 to your computer and use it in GitHub Desktop.
mxe workflow

1.download repo of mxe

2.make needed targets

make MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static' freeglut qt ...

  1. generate project

cmake . -DCMAKE_TOOLCHAIN_FILE=/cross/mxe/usr/i686-w64-mingw32.shared/share/cmake/mxe-conf.cmake

  1. make project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment