summaryrefslogtreecommitdiffstats
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
parenta82aee9a5fb4b10951d95a0422a4125b18fe9a52 (diff)
downloadhdf5-7e00924d1b9d235b988e63556e3f2c2644bae543.zip
hdf5-7e00924d1b9d235b988e63556e3f2c2644bae543.tar.gz
hdf5-7e00924d1b9d235b988e63556e3f2c2644bae543.tar.bz2
EED-258 Add modules uses toolchain files
-rw-r--r--MANIFEST1
-rw-r--r--config/GCC.cmake10
2 files changed, 11 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index b820622..2ca6110 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3160,6 +3160,7 @@
./java/lib/ext/slf4j-simple-1.7.25.jar
# CMake-specific Files
+./config/GCC.cmake
./config/intel.cmake
./config/cmake/cacheinit.cmake
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 "")