summaryrefslogtreecommitdiff
path: root/SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
commitf5c89b3bd5d74849757fd5b4d1a300068522a3ca (patch)
treed6f6e4c81745b393d7594b334710f30c0b2df3bd /SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake
Initial commitHEADmain
Diffstat (limited to 'SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake')
-rw-r--r--SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake b/SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake
new file mode 100644
index 0000000..8bf4366
--- /dev/null
+++ b/SDL-3.2.8/build-scripts/cmake-toolchain-mingw64-x86_64.cmake
@@ -0,0 +1,18 @@
1set(CMAKE_SYSTEM_NAME Windows)
2set(CMAKE_SYSTEM_PROCESSOR x86_64)
3
4find_program(CMAKE_C_COMPILER NAMES x86_64-w64-mingw32-gcc)
5find_program(CMAKE_CXX_COMPILER NAMES x86_64-w64-mingw32-g++)
6find_program(CMAKE_RC_COMPILER NAMES x86_64-w64-mingw32-windres windres)
7
8if(NOT CMAKE_C_COMPILER)
9 message(FATAL_ERROR "Failed to find CMAKE_C_COMPILER.")
10endif()
11
12if(NOT CMAKE_CXX_COMPILER)
13 message(FATAL_ERROR "Failed to find CMAKE_CXX_COMPILER.")
14endif()
15
16if(NOT CMAKE_RC_COMPILER)
17 message(FATAL_ERROR "Failed to find CMAKE_RC_COMPILER.")
18endif()