summaryrefslogtreecommitdiffhomepage
path: root/cmake/toolchains
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-07 23:59:51 +0100
committerAki <please@ignore.pl>2024-03-07 23:59:51 +0100
commit3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19 (patch)
tree4a2724f89ce213b1834d5550229243cccfad9fb3 /cmake/toolchains
parent1ef05b8b227194ec32ae49f0eaf3e483ef35bb6b (diff)
downloadstarshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.zip
starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.tar.gz
starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.tar.bz2
Added gtest to the project and a stub test for showcase
Diffstat (limited to 'cmake/toolchains')
-rwxr-xr-xcmake/toolchains/i686-w64-mingw32-wine7
-rw-r--r--cmake/toolchains/i686-w64-mingw32.cmake3
2 files changed, 0 insertions, 10 deletions
diff --git a/cmake/toolchains/i686-w64-mingw32-wine b/cmake/toolchains/i686-w64-mingw32-wine
deleted file mode 100755
index 6f67c68..0000000
--- a/cmake/toolchains/i686-w64-mingw32-wine
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh -e
-toolchain=i686-w64-mingw32
-prefix=/usr/$toolchain
-export WINEPREFIX=$HOME/.wine-$toolchain
-export WINEPATH="${WINEPATH:+${WINEPATH};}$prefix/bin"
-export WINEARCH=win32
-exec /usr/bin/wine "$@"
diff --git a/cmake/toolchains/i686-w64-mingw32.cmake b/cmake/toolchains/i686-w64-mingw32.cmake
index b4d66eb..debc649 100644
--- a/cmake/toolchains/i686-w64-mingw32.cmake
+++ b/cmake/toolchains/i686-w64-mingw32.cmake
@@ -7,11 +7,8 @@
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR i686)
-set(CMAKE_CROSSCOMPILING ON)
set(TOOLCHAIN_DIR "${CMAKE_CURRENT_LIST_DIR}")
-set(CMAKE_CROSSCOMPILING_EMULATOR "${TOOLCHAIN_DIR}/i686-w64-mingw32-wine")
-
set(TOOLCHAIN_PREFIX i686-w64-mingw32)
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)