diff options
author | Tyler <tylerbrawl@gmail.com> | 2024-03-06 22:32:16 (GMT) |
---|---|---|
committer | Tyler Nichols <tylerbrawl@gmail.com> | 2024-03-29 20:29:20 (GMT) |
commit | 588371d2d5fdda0340b29058147f49e40723ba71 (patch) | |
tree | 43dcc7e4d599d4902602a3da743eecf6fb4ddde5 | |
parent | 4d27ef55bdb3f74370df9b0ec573869d0d43c398 (diff) | |
download | CMake-588371d2d5fdda0340b29058147f49e40723ba71.zip CMake-588371d2d5fdda0340b29058147f49e40723ba71.tar.gz CMake-588371d2d5fdda0340b29058147f49e40723ba71.tar.bz2 |
Modules: Rename CMakeDetermine{CompileFeatures -> CompilerSupport}
Rename the CMake script at
`${CMAKE_ROOT}\Modules\CMakeDetermineCompileFeatures.cmake` to
`${CMAKE_ROOT}\Modules\CMakeDetermineCompilerSupport.cmake`. Also,
rename the function defined in that script from
`cmake_determine_compile_features()` to
`cmake_determine_compiler_support()`.
Modify existing CMake scripts which were including the previous
CMake script to refer to the new file and call the new function.
-rw-r--r-- | Modules/CMakeDetermineCompilerSupport.cmake (renamed from Modules/CMakeDetermineCompileFeatures.cmake) | 2 | ||||
-rw-r--r-- | Modules/CMakeTestCCompiler.cmake | 4 | ||||
-rw-r--r-- | Modules/CMakeTestCUDACompiler.cmake | 4 | ||||
-rw-r--r-- | Modules/CMakeTestCXXCompiler.cmake | 4 | ||||
-rw-r--r-- | Modules/CMakeTestHIPCompiler.cmake | 4 | ||||
-rw-r--r-- | Modules/CMakeTestOBJCCompiler.cmake | 4 | ||||
-rw-r--r-- | Modules/CMakeTestOBJCXXCompiler.cmake | 4 |
7 files changed, 13 insertions, 13 deletions
diff --git a/Modules/CMakeDetermineCompileFeatures.cmake b/Modules/CMakeDetermineCompilerSupport.cmake index 09de7b1..746f04e 100644 --- a/Modules/CMakeDetermineCompileFeatures.cmake +++ b/Modules/CMakeDetermineCompilerSupport.cmake @@ -2,7 +2,7 @@ # file Copyright.txt or https://cmake.org/licensing for details. -function(cmake_determine_compile_features lang) +function(cmake_determine_compiler_support lang) if("x${lang}" STREQUAL "xC" AND COMMAND cmake_record_c_compile_features) message(CHECK_START "Detecting ${lang} compile features") diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake index 58726db..8ebe570 100644 --- a/Modules/CMakeTestCCompiler.cmake +++ b/Modules/CMakeTestCCompiler.cmake @@ -73,8 +73,8 @@ if(NOT CMAKE_C_COMPILER_WORKS) endif() # Try to identify the compiler features -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake) -CMAKE_DETERMINE_COMPILE_FEATURES(C) +include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerSupport.cmake) +CMAKE_DETERMINE_COMPILER_SUPPORT(C) # Re-configure to save learned information. configure_file( diff --git a/Modules/CMakeTestCUDACompiler.cmake b/Modules/CMakeTestCUDACompiler.cmake index 3057fe9..ef97f55 100644 --- a/Modules/CMakeTestCUDACompiler.cmake +++ b/Modules/CMakeTestCUDACompiler.cmake @@ -65,8 +65,8 @@ if(NOT CMAKE_CUDA_COMPILER_WORKS) endif() # Try to identify the compiler features -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake) -CMAKE_DETERMINE_COMPILE_FEATURES(CUDA) +include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerSupport.cmake) +CMAKE_DETERMINE_COMPILER_SUPPORT(CUDA) if("x${CMAKE_CUDA_SIMULATE_ID}" STREQUAL "xMSVC") set(CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES "${CMAKE_CUDA_HOST_IMPLICIT_LINK_LIBRARIES}") diff --git a/Modules/CMakeTestCXXCompiler.cmake b/Modules/CMakeTestCXXCompiler.cmake index e640ff9..c82a154 100644 --- a/Modules/CMakeTestCXXCompiler.cmake +++ b/Modules/CMakeTestCXXCompiler.cmake @@ -66,8 +66,8 @@ if(NOT CMAKE_CXX_COMPILER_WORKS) endif() # Try to identify the compiler features -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake) -CMAKE_DETERMINE_COMPILE_FEATURES(CXX) +include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerSupport.cmake) +CMAKE_DETERMINE_COMPILER_SUPPORT(CXX) # Re-configure to save learned information. configure_file( diff --git a/Modules/CMakeTestHIPCompiler.cmake b/Modules/CMakeTestHIPCompiler.cmake index ec54d80..5b49c0d 100644 --- a/Modules/CMakeTestHIPCompiler.cmake +++ b/Modules/CMakeTestHIPCompiler.cmake @@ -83,8 +83,8 @@ unset(__CMAKE_HIP_FLAGS) # Try to identify the compiler features -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake) -CMAKE_DETERMINE_COMPILE_FEATURES(HIP) +include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerSupport.cmake) +CMAKE_DETERMINE_COMPILER_SUPPORT(HIP) if(CMAKE_HIP_COMPILER_ID STREQUAL "NVIDIA") include(Internal/CMakeNVCCFilterImplicitInfo) diff --git a/Modules/CMakeTestOBJCCompiler.cmake b/Modules/CMakeTestOBJCCompiler.cmake index a36180b..bcb3e1e 100644 --- a/Modules/CMakeTestOBJCCompiler.cmake +++ b/Modules/CMakeTestOBJCCompiler.cmake @@ -70,8 +70,8 @@ if(NOT CMAKE_OBJC_COMPILER_WORKS) endif() # Try to identify the compiler features -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake) -CMAKE_DETERMINE_COMPILE_FEATURES(OBJC) +include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerSupport.cmake) +CMAKE_DETERMINE_COMPILER_SUPPORT(OBJC) # Re-configure to save learned information. configure_file( diff --git a/Modules/CMakeTestOBJCXXCompiler.cmake b/Modules/CMakeTestOBJCXXCompiler.cmake index f7935c7..68b3871 100644 --- a/Modules/CMakeTestOBJCXXCompiler.cmake +++ b/Modules/CMakeTestOBJCXXCompiler.cmake @@ -69,8 +69,8 @@ if(NOT CMAKE_OBJCXX_COMPILER_WORKS) endif() # Try to identify the compiler features -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake) -CMAKE_DETERMINE_COMPILE_FEATURES(OBJCXX) +include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerSupport.cmake) +CMAKE_DETERMINE_COMPILER_SUPPORT(OBJCXX) # Re-configure to save learned information. configure_file( |