speed-dreams-code/packaging/3rdParty-devel/x86_64-w64-mingw32.cmake
xavi92 61b16fe97c Add x86_64-w64-mingw32.cmake
This file is meant to be used as a CMAKE_TOOLCHAIN_FILE [1] when
building the 3rdParty-devel project.

[1]: https://cmake.org/cmake/help/latest/variable/CMAKE_TOOLCHAIN_FILE.html


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9566 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d741bd0dea7310810e846437b2c7c9f2c63dcf7a
Former-commit-id: c7634eabd04a5c78eee324278fa3d9a5f76b09e6
2024-10-27 07:43:43 +00:00

8 lines
330 B
CMake

set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_VERSION 7.0)
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)