aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/toolchains/gcc-x86.cmake
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-11 07:59:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-11 07:59:27 +0300
commit44dd1759bbf342b3e09cda6702398846e52c61b7 (patch)
tree8e58abe15c5331bae2abbedd9b8ba22181d46ba8 /toolchains/gcc-x86.cmake
parenttoolchains: add Boost user configs (diff)
downloadcmake-common-44dd1759bbf342b3e09cda6702398846e52c61b7.tar.gz
cmake-common-44dd1759bbf342b3e09cda6702398846e52c61b7.zip
toolchains: add gcc-x{86,64}.cmake
Diffstat (limited to 'toolchains/gcc-x86.cmake')
-rw-r--r--toolchains/gcc-x86.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchains/gcc-x86.cmake b/toolchains/gcc-x86.cmake
new file mode 100644
index 0000000..e2e84be
--- /dev/null
+++ b/toolchains/gcc-x86.cmake
@@ -0,0 +1,4 @@
+set(CMAKE_C_COMPILER gcc)
+set(CMAKE_C_FLAGS -m32)
+set(CMAKE_CXX_COMIPLER g++)
+set(CMAKE_CXX_FLAGS -m32)