summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-09-05 04:01:08 (GMT)
committerGitHub <noreply@github.com>2023-09-05 04:01:08 (GMT)
commitdf8f7a9029f443e6df0e2644a040a87ef4905607 (patch)
treefc54db5332bef05e19fd95a4979bbf97434cb685 /config/toolchain
parent93748d4ab59694769b2e7ac76fc60ab63a012000 (diff)
downloadhdf5-df8f7a9029f443e6df0e2644a040a87ef4905607.zip
hdf5-df8f7a9029f443e6df0e2644a040a87ef4905607.tar.gz
hdf5-df8f7a9029f443e6df0e2644a040a87ef4905607.tar.bz2
Fix some minor formatting for consistency (#3499)
Diffstat (limited to 'config/toolchain')
-rw-r--r--config/toolchain/build32.cmake2
-rw-r--r--config/toolchain/clang.cmake16
-rw-r--r--config/toolchain/crayle.cmake10
-rw-r--r--config/toolchain/gcc.cmake12
-rw-r--r--config/toolchain/mingw64.cmake2
-rw-r--r--config/toolchain/pgi.cmake12
6 files changed, 27 insertions, 27 deletions
diff --git a/config/toolchain/build32.cmake b/config/toolchain/build32.cmake
index a2566c3..f636ea8 100644
--- a/config/toolchain/build32.cmake
+++ b/config/toolchain/build32.cmake
@@ -42,7 +42,7 @@ elseif(MINGW)
set (CMAKE_CROSSCOMPILING_EMULATOR wine)
include_directories(/usr/${TOOLCHAIN_PREFIX}/include)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS On CACHE BOOL "Export windows symbols")
+ set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS On CACHE BOOL "Export windows symbols")
else ()
set (CMAKE_SYSTEM_NAME Linux)
diff --git a/config/toolchain/clang.cmake b/config/toolchain/clang.cmake
index af176aa..2d35641 100644
--- a/config/toolchain/clang.cmake
+++ b/config/toolchain/clang.cmake
@@ -1,16 +1,16 @@
# Uncomment the following to use cross-compiling
-#set(CMAKE_SYSTEM_NAME Linux)
+#set (CMAKE_SYSTEM_NAME Linux)
-set(CMAKE_COMPILER_VENDOR "clang")
+set (CMAKE_COMPILER_VENDOR "clang")
if(WIN32)
- set(CMAKE_C_COMPILER clang-cl)
- set(CMAKE_CXX_COMPILER clang-cl)
+ set (CMAKE_C_COMPILER clang-cl)
+ set (CMAKE_CXX_COMPILER clang-cl)
else()
- set(CMAKE_C_COMPILER clang)
- set(CMAKE_CXX_COMPILER clang++)
+ set (CMAKE_C_COMPILER clang)
+ set (CMAKE_CXX_COMPILER clang++)
endif()
-set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
# the following is used if cross-compiling
-set(CMAKE_CROSSCOMPILING_EMULATOR "")
+set (CMAKE_CROSSCOMPILING_EMULATOR "")
diff --git a/config/toolchain/crayle.cmake b/config/toolchain/crayle.cmake
index bf7cf69..02df8ff 100644
--- a/config/toolchain/crayle.cmake
+++ b/config/toolchain/crayle.cmake
@@ -1,10 +1,10 @@
# The following line will use cross-compiling
-set(CMAKE_SYSTEM_NAME Linux)
+set (CMAKE_SYSTEM_NAME Linux)
-set(CMAKE_COMPILER_VENDOR "CrayLinuxEnvironment")
+set (CMAKE_COMPILER_VENDOR "CrayLinuxEnvironment")
-set(CMAKE_C_COMPILER cc)
-set(CMAKE_Fortran_COMPILER ftn)
+set (CMAKE_C_COMPILER cc)
+set (CMAKE_Fortran_COMPILER ftn)
# the following is used if cross-compiling
-set(CMAKE_CROSSCOMPILING_EMULATOR "")
+set (CMAKE_CROSSCOMPILING_EMULATOR "")
diff --git a/config/toolchain/gcc.cmake b/config/toolchain/gcc.cmake
index c41d0ca..f0771ed 100644
--- a/config/toolchain/gcc.cmake
+++ b/config/toolchain/gcc.cmake
@@ -1,11 +1,11 @@
# Uncomment the following line and the correct system name to use cross-compiling
-#set(CMAKE_SYSTEM_NAME Linux)
+#set (CMAKE_SYSTEM_NAME Linux)
-set(CMAKE_COMPILER_VENDOR "GCC")
+set (CMAKE_COMPILER_VENDOR "GCC")
-set(CMAKE_C_COMPILER cc)
-set(CMAKE_CXX_COMPILER c++)
-set(CMAKE_Fortran_COMPILER gfortran)
+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 "")
+set (CMAKE_CROSSCOMPILING_EMULATOR "")
diff --git a/config/toolchain/mingw64.cmake b/config/toolchain/mingw64.cmake
index 1830488..1b13891 100644
--- a/config/toolchain/mingw64.cmake
+++ b/config/toolchain/mingw64.cmake
@@ -11,4 +11,4 @@ set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set (CMAKE_CROSSCOMPILING_EMULATOR wine64)
include_directories(/usr/${TOOLCHAIN_PREFIX}/include)
-set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS On CACHE BOOL "Export windows symbols")
+set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS On CACHE BOOL "Export windows symbols")
diff --git a/config/toolchain/pgi.cmake b/config/toolchain/pgi.cmake
index ec58cbb..ff2f048 100644
--- a/config/toolchain/pgi.cmake
+++ b/config/toolchain/pgi.cmake
@@ -1,11 +1,11 @@
# Uncomment the following to use cross-compiling
-#set(CMAKE_SYSTEM_NAME Linux)
+#set (CMAKE_SYSTEM_NAME Linux)
-set(CMAKE_COMPILER_VENDOR "PGI")
+set (CMAKE_COMPILER_VENDOR "PGI")
-set(CMAKE_C_COMPILER pgcc)
-set(CMAKE_CXX_COMPILER pgc++)
-set(CMAKE_Fortran_COMPILER pgf90)
+set (CMAKE_C_COMPILER pgcc)
+set (CMAKE_CXX_COMPILER pgc++)
+set (CMAKE_Fortran_COMPILER pgf90)
# the following is used if cross-compiling
-set(CMAKE_CROSSCOMPILING_EMULATOR "")
+set (CMAKE_CROSSCOMPILING_EMULATOR "")