summaryrefslogtreecommitdiffstats
path: root/config/toolchain/GCC.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-23 14:32:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-23 14:32:00 (GMT)
commit1d06bbe5238d25e55a582fc259cb2d870fb1101d (patch)
treefa492e75624ce25160f807fba659318907daa9c1 /config/toolchain/GCC.cmake
parent9838dba4a402f0d6375fc6aba405ff74a5c73db8 (diff)
parent47f30b474bdc498c20bd6d2a0ba7e8947ab389f0 (diff)
downloadhdf5-1d06bbe5238d25e55a582fc259cb2d870fb1101d.zip
hdf5-1d06bbe5238d25e55a582fc259cb2d870fb1101d.tar.gz
hdf5-1d06bbe5238d25e55a582fc259cb2d870fb1101d.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '47f30b474bdc498c20bd6d2a0ba7e8947ab389f0': HDFFV-10608 Move toolchain files into a subfolder TRILAB-36 add option for test script batch command Fixed warnings in the VOL example and run it from the script. Split H5VLnative.h into public and private files and updated
Diffstat (limited to 'config/toolchain/GCC.cmake')
-rw-r--r--config/toolchain/GCC.cmake10
1 files changed, 10 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 "")