aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cmake/toolchains/gcc-x86.cmake
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-03 18:00:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-03 18:03:37 +0300
commitd7bd2e3d50d5b5b51f5af28343a6f03ed2efbcfc (patch)
tree36834e3fe8a8f06e589cc4aff90cf3a8271c2857 /cmake/toolchains/gcc-x86.cmake
parentcommon.cmake: don't use keyword- target_link_libraries (diff)
downloadcmake-common-d7bd2e3d50d5b5b51f5af28343a6f03ed2efbcfc.tar.gz
cmake-common-d7bd2e3d50d5b5b51f5af28343a6f03ed2efbcfc.zip
rearrange all files completely
Diffstat (limited to 'cmake/toolchains/gcc-x86.cmake')
-rw-r--r--cmake/toolchains/gcc-x86.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/toolchains/gcc-x86.cmake b/cmake/toolchains/gcc-x86.cmake
new file mode 100644
index 0000000..e2e84be
--- /dev/null
+++ b/cmake/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)