summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/config/toolchain/gcc.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-27 21:30:15 (GMT)
committerGitHub <noreply@github.com>2023-11-27 21:30:15 (GMT)
commitfc88fcde1091cf12c1e88c783a14ee0f1cffe31c (patch)
tree91b88b62cd30ed37ee9227e43989e95035be43c3 /HDF5Examples/config/toolchain/gcc.cmake
parenta067bf71f57723d2dfca7dfe2ffd9ea502eccd4f (diff)
downloadhdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.zip
hdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.tar.gz
hdf5-fc88fcde1091cf12c1e88c783a14ee0f1cffe31c.tar.bz2
Develop merge examples (#3851)
* Merge examples repo into library * Change grepTest to be more fault-tolerant * Update examples macro file * Exclude all Fortran examples from doxygen
Diffstat (limited to 'HDF5Examples/config/toolchain/gcc.cmake')
-rw-r--r--HDF5Examples/config/toolchain/gcc.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/HDF5Examples/config/toolchain/gcc.cmake b/HDF5Examples/config/toolchain/gcc.cmake
new file mode 100644
index 0000000..f0771ed
--- /dev/null
+++ b/HDF5Examples/config/toolchain/gcc.cmake
@@ -0,0 +1,11 @@
+# Uncomment the following line and the correct system name 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 "")