Skip to content

Instantly share code, notes, and snippets.

@ttmarek
Created September 28, 2015 01:33
Show Gist options
  • Save ttmarek/33ad9486d81169e877b6 to your computer and use it in GitHub Desktop.
Save ttmarek/33ad9486d81169e877b6 to your computer and use it in GitHub Desktop.
Cross Compile Toolchain file (CEF Linux Compile to Windows Executable)
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER /usr/bin/i686-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/i686-w64-mingw32-g++)
set(CMAKE_RC_COMPILER /usr/bin/i686-w64-mingw32-windres)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment