aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cmake/toolchains
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-28 17:19:43 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-28 17:23:15 +0000
commit70da99e4f70845da37ae368c4788ecc18546792d (patch)
tree51f50290e2ea926350c88fa5fa0e8d4d2ad426fa /cmake/toolchains
parentcommon.cmake: account for ALIAS targets (diff)
downloadcmake-common-70da99e4f70845da37ae368c4788ecc18546792d.tar.gz
cmake-common-70da99e4f70845da37ae368c4788ecc18546792d.zip
WIP: restructure
A stupid attempt to reduce code duplication led me to believe that all the scripts could use _a bit_ of refactoring. This is going to be a major pain (factoring out all the things), which I'll take gladly. All the links and usage examples are broken right now, but nobody cares, so whatevs.
Diffstat (limited to 'cmake/toolchains')
-rw-r--r--cmake/toolchains/README.md3
-rw-r--r--cmake/toolchains/gcc-x64.cmake4
-rw-r--r--cmake/toolchains/gcc-x86.cmake4
-rw-r--r--cmake/toolchains/mingw-w64-x64.cmake4
-rw-r--r--cmake/toolchains/mingw-w64-x86.cmake4
5 files changed, 0 insertions, 19 deletions
diff --git a/cmake/toolchains/README.md b/cmake/toolchains/README.md
deleted file mode 100644
index 9c58eb6..0000000
--- a/cmake/toolchains/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Use the toolchain files by passing something like
-`-D CMAKE_TOOLCHAIN_FILE=PATH/TO/cmake-common/cmake/toolchains/TOOLCHAIN.cmake`
-to `cmake`.
diff --git a/cmake/toolchains/gcc-x64.cmake b/cmake/toolchains/gcc-x64.cmake
deleted file mode 100644
index 2f7019e..0000000
--- a/cmake/toolchains/gcc-x64.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-set(CMAKE_C_COMPILER gcc)
-set(CMAKE_C_FLAGS -m64)
-set(CMAKE_CXX_COMIPLER g++)
-set(CMAKE_CXX_FLAGS -m64)
diff --git a/cmake/toolchains/gcc-x86.cmake b/cmake/toolchains/gcc-x86.cmake
deleted file mode 100644
index e2e84be..0000000
--- a/cmake/toolchains/gcc-x86.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-set(CMAKE_C_COMPILER gcc)
-set(CMAKE_C_FLAGS -m32)
-set(CMAKE_CXX_COMIPLER g++)
-set(CMAKE_CXX_FLAGS -m32)
diff --git a/cmake/toolchains/mingw-w64-x64.cmake b/cmake/toolchains/mingw-w64-x64.cmake
deleted file mode 100644
index c689d39..0000000
--- a/cmake/toolchains/mingw-w64-x64.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
-set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
-set(CMAKE_RC_COMILER x86_64-w64-mingw32-windres)
-set(CMAKE_SYSTEM_NAME Windows)
diff --git a/cmake/toolchains/mingw-w64-x86.cmake b/cmake/toolchains/mingw-w64-x86.cmake
deleted file mode 100644
index e5dedd4..0000000
--- a/cmake/toolchains/mingw-w64-x86.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
-set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
-set(CMAKE_RC_COMILER i686-w64-mingw32-windres)
-set(CMAKE_SYSTEM_NAME Windows)