srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/legacy-cpp/cmake/toolchains
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2025-08-24 00:44:00 +0200
committersrdusr <[email protected]>2025-08-24 00:44:00 +0200
commit72e787a706d372c9a92e424e9b13ece929cb2bce (patch)
tree237ea5559a63474c2539761b6ce1015fc31dc1da /legacy-cpp/cmake/toolchains
parent2a3fdcf2faf6cadb1fa49ed7c4b2963b554b0724 (diff)
downloadsrdwm-72e787a706d372c9a92e424e9b13ece929cb2bce.tar.gz
srdwm-72e787a706d372c9a92e424e9b13ece929cb2bce.zip
Remove the stale legacy-cpp implementation
The Rust rewrite (crates/) has fully superseded it - keeping both around was actively misleading (main looked like it still shipped a C++ build), and nothing here still depends on it.
Diffstat (limited to 'legacy-cpp/cmake/toolchains')
-rw-r--r--legacy-cpp/cmake/toolchains/mingw-w64-x86_64.cmake27
1 files changed, 0 insertions, 27 deletions
diff --git a/legacy-cpp/cmake/toolchains/mingw-w64-x86_64.cmake b/legacy-cpp/cmake/toolchains/mingw-w64-x86_64.cmake
deleted file mode 100644
index 7935b7e..0000000
--- a/legacy-cpp/cmake/toolchains/mingw-w64-x86_64.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-# MinGW-w64 x86_64 toolchain file for cross-compiling Windows binaries from Linux
-# Usage:
-# cmake -S . -B build-win-mingw \
-# -G Ninja \
-# -DCMAKE_BUILD_TYPE=Release \
-# -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/mingw-w64-x86_64.cmake
-
-set(CMAKE_SYSTEM_NAME Windows)
-set(CMAKE_SYSTEM_VERSION 10)
-
-# Adjust these prefixes if your distro uses different triplets
-set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)
-
-find_program(CMAKE_C_COMPILER NAMES ${TOOLCHAIN_PREFIX}-gcc)
-find_program(CMAKE_CXX_COMPILER NAMES ${TOOLCHAIN_PREFIX}-g++)
-find_program(CMAKE_RC_COMPILER NAMES ${TOOLCHAIN_PREFIX}-windres)
-
-# For pkg-config in cross environment (optional)
-# set(ENV{PKG_CONFIG_LIBDIR} "")
-# set(ENV{PKG_CONFIG_PATH} "")
-
-set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX} /usr/${TOOLCHAIN_PREFIX}/${TOOLCHAIN_PREFIX})
-
-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)