aboutsummaryrefslogtreecommitdiff
path: root/scripts/toolchains/mingw.cmake
AgeCommit message (Collapse)Author
2020-12-26[mingw] Remove executable extension on non-Windows hosts (#15282)Long Nguyen
2020-12-21[mingw] Use find_file to find compiler, fall back to unprefixed windres if ↵Long Nguyen
the prefixed version doesn't exist (#15179)
2020-10-30Add compiler executable name into toolchain file (#14269)Long Nguyen
2020-09-0311129: Add VCPKG_LINKER_FLAGS_<CONFIG>. (#11290)Paul
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-01-17Add support for building with MinGW (#9137)Cristian Adam
* 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