diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-10-22 21:08:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-10-22 21:08:52 (GMT) |
commit | 096279caf76a542306b840fb90e1e753e8bbf748 (patch) | |
tree | f486957d11a73caa677bd335258f1abb110c2927 /config/toolchain | |
parent | 164bae2439d490f5cc93e1068692d42d56d36b76 (diff) | |
download | hdf5-096279caf76a542306b840fb90e1e753e8bbf748.zip hdf5-096279caf76a542306b840fb90e1e753e8bbf748.tar.gz hdf5-096279caf76a542306b840fb90e1e753e8bbf748.tar.bz2 |
HDFFV-10608 Move toolchain files into a subfolder
Diffstat (limited to 'config/toolchain')
-rw-r--r-- | config/toolchain/GCC.cmake | 10 | ||||
-rw-r--r-- | config/toolchain/intel.cmake | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/config/toolchain/GCC.cmake b/config/toolchain/GCC.cmake new file mode 100644 index 0000000..ddb1641 --- /dev/null +++ b/config/toolchain/GCC.cmake @@ -0,0 +1,10 @@ +# Uncomment the following to use cross-compiling +#set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_COMPILER_VENDOR "GCC") + +set(CMAKE_C_COMPILER cc) +set(CMAKE_CXX_COMPILER c++) +set(CMAKE_Fortran_COMPILER gfortran) + +# the following is used if cross-compiling +set(CMAKE_CROSSCOMPILING_EMULATOR "") diff --git a/config/toolchain/intel.cmake b/config/toolchain/intel.cmake new file mode 100644 index 0000000..f1a5734 --- /dev/null +++ b/config/toolchain/intel.cmake @@ -0,0 +1,10 @@ +# Uncomment the following to use cross-compiling +#set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_COMPILER_VENDOR "intel") + +set(CMAKE_C_COMPILER icc) +set(CMAKE_CXX_COMPILER icpc) +set(CMAKE_Fortran_COMPILER ifort) + +# the following is used if cross-compiling +set(CMAKE_CROSSCOMPILING_EMULATOR "") |