Skip to content

Instantly share code, notes, and snippets.

@keijiro
Last active September 22, 2020 08:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save keijiro/a108fdcf03bf8ed8e36aef3f4dca5d83 to your computer and use it in GitHub Desktop.
Save keijiro/a108fdcf03bf8ed8e36aef3f4dca5d83 to your computer and use it in GitHub Desktop.
Invoke CMake in WSL for Win32 cross compilation
sudo apt install mingw-w64 cmake
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-x86_64-w64-mingw32.cmake ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment