summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-18 19:44:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-18 19:44:27 (GMT)
commit7e00924d1b9d235b988e63556e3f2c2644bae543 (patch)
tree0427daf2850556f63b1b85307204c5a8f59c6ef6 /config
parenta82aee9a5fb4b10951d95a0422a4125b18fe9a52 (diff)
downloadhdf5-7e00924d1b9d235b988e63556e3f2c2644bae543.zip
hdf5-7e00924d1b9d235b988e63556e3f2c2644bae543.tar.gz
hdf5-7e00924d1b9d235b988e63556e3f2c2644bae543.tar.bz2
EED-258 Add modules uses toolchain files
Diffstat (limited to 'config')
-rw-r--r--config/GCC.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/GCC.cmake b/config/GCC.cmake
new file mode 100644
index 0000000..ddb1641
--- /dev/null
+++ b/config/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 "")