diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-11 07:59:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-11 07:59:27 +0300 |
commit | 44dd1759bbf342b3e09cda6702398846e52c61b7 (patch) | |
tree | 8e58abe15c5331bae2abbedd9b8ba22181d46ba8 | |
parent | toolchains: add Boost user configs (diff) | |
download | cmake-common-44dd1759bbf342b3e09cda6702398846e52c61b7.tar.gz cmake-common-44dd1759bbf342b3e09cda6702398846e52c61b7.zip |
toolchains: add gcc-x{86,64}.cmake
Diffstat (limited to '')
-rw-r--r-- | toolchains/gcc-x64.cmake | 4 | ||||
-rw-r--r-- | toolchains/gcc-x86.cmake | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/toolchains/gcc-x64.cmake b/toolchains/gcc-x64.cmake new file mode 100644 index 0000000..2f7019e --- /dev/null +++ b/toolchains/gcc-x64.cmake @@ -0,0 +1,4 @@ +set(CMAKE_C_COMPILER gcc) +set(CMAKE_C_FLAGS -m64) +set(CMAKE_CXX_COMIPLER g++) +set(CMAKE_CXX_FLAGS -m64) 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) |