summaryrefslogtreecommitdiffstats
path: root/config/cmake/examples/HDF5_Examples_options.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-01 12:15:19 (GMT)
committerGitHub <noreply@github.com>2023-11-01 12:15:19 (GMT)
commita654b2c1c5670010e14d8fba6d287ce62c87169a (patch)
tree06d7c097fad284e468f58407c61931a1cecc931c /config/cmake/examples/HDF5_Examples_options.cmake
parentf8ab865ce75821a2e24127b1d52ce3070980c298 (diff)
downloadhdf5-a654b2c1c5670010e14d8fba6d287ce62c87169a.zip
hdf5-a654b2c1c5670010e14d8fba6d287ce62c87169a.tar.gz
hdf5-a654b2c1c5670010e14d8fba6d287ce62c87169a.tar.bz2
Use the current toolchain for examples as default (#3810)
Diffstat (limited to 'config/cmake/examples/HDF5_Examples_options.cmake')
-rw-r--r--config/cmake/examples/HDF5_Examples_options.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/cmake/examples/HDF5_Examples_options.cmake b/config/cmake/examples/HDF5_Examples_options.cmake
index cdd49eb..684ec5b 100644
--- a/config/cmake/examples/HDF5_Examples_options.cmake
+++ b/config/cmake/examples/HDF5_Examples_options.cmake
@@ -29,6 +29,19 @@
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_SHARED_LIBS:BOOL=ON")
#############################################################################################
+#### maximum parallel processor count for build and test ####
+#set(MAX_PROC_COUNT 8)
+
+#############################################################################################
+#### alternate toolsets (Windows usually) ####
+#set(CMAKE_GENERATOR_TOOLSET "Intel C++ Compiler 17.0")
+
+#############################################################################################
+### use a toolchain file (supported everywhere) ####
+#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/toolchain/clang.cmake")
+#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/toolchain/intel.cmake")
+
+#############################################################################################
#### languages ####
### disable C builds
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_BUILD_C:BOOL=OFF")