vcpkg/scripts/toolchains
Cristian Adam 38b959022c Add support for building with MinGW (#9137)
* Add support for building with MinGW

Tested with MSYS2 MinGW 8.3.0, gcc-mcf.lhmouse MinGW 9.2.1,
and StephanTLavavej/mingw-distro!

* Add MinGW toolchain

From your MinGW configured shell you could just use vcpkg to
configure packages.

An x64-mingw triplet would look like:
```
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_ENV_PASSTHROUGH PATH)

set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
```

* Add MinGW community tripplets

x64 tested with https://github.com/StephanTLavavej/mingw-distro
x86, arm64, arm tested with https://github.com/mstorsjo/llvm-mingw
2020-01-17 15:36:08 -08:00
..
android.cmake Support custom Android NDK, better ABI specification (#4986) 2018-12-17 16:45:09 -08:00
freebsd.cmake [vcpkg-toolchains] Use XYZ_INIT CMake variables for _significantly_ better integration 2018-12-04 18:01:23 -08:00
linux.cmake set CMAKE_SYSTEM_PROCESSOR in Linux (#6872) 2019-06-14 13:09:38 -07:00
mingw.cmake Add support for building with MinGW (#9137) 2020-01-17 15:36:08 -08:00
osx.cmake [vcpkg-toolchains] Use XYZ_INIT CMake variables for _significantly_ better integration 2018-12-04 18:01:23 -08:00
windows.cmake [vcpkg_configure_cmake] Add NO_CHARSET_FLAG option (#7074) 2019-06-30 09:31:22 -07:00