summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-06 13:23:17 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-06 14:29:42 (GMT)
commit64ac01451dad389bb4ca00019a38fbb8bd68308e (patch)
treebedeaae5eaba60b243d4c085eee33abb668a20ef /Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake
parent2133cf2c8e575bfff000041505208e28bcdfd4a3 (diff)
downloadCMake-64ac01451dad389bb4ca00019a38fbb8bd68308e.zip
CMake-64ac01451dad389bb4ca00019a38fbb8bd68308e.tar.gz
CMake-64ac01451dad389bb4ca00019a38fbb8bd68308e.tar.bz2
Tests: Clarify RunCMake.Check* case names
Cases for `CheckSource{Compiles,Runs}` and `Check{Compiler,Linker}Flag` cover the modules with the language as a parameter, not the language-specific modules.
Diffstat (limited to 'Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake b/Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake
index 530f133..64555d8 100644
--- a/Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CheckSourceCompiles/RunCMakeTest.cmake
@@ -4,26 +4,26 @@ run_cmake(NotEnabledLanguage)
run_cmake(NonExistentLanguage)
run_cmake(UnknownArgument)
-run_cmake(CheckCSourceCompiles)
-run_cmake(CheckCXXSourceCompiles)
+run_cmake(CheckSourceCompilesC)
+run_cmake(CheckSourceCompilesCXX)
if (APPLE)
- run_cmake(CheckOBJCSourceCompiles)
- run_cmake(CheckOBJCXXSourceCompiles)
+ run_cmake(CheckSourceCompilesOBJC)
+ run_cmake(CheckSourceCompilesOBJCXX)
endif()
if (CMAKE_Fortran_COMPILER_ID)
- run_cmake(CheckFortranSourceCompiles)
+ run_cmake(CheckSourceCompilesFortran)
endif()
if (CMake_TEST_CUDA)
- run_cmake(CheckCUDASourceCompiles)
+ run_cmake(CheckSourceCompilesCUDA)
endif()
if(CMake_TEST_ISPC)
- run_cmake(CheckISPCSourceCompiles)
+ run_cmake(CheckSourceCompilesISPC)
endif()
if(CMake_TEST_HIP)
- run_cmake(CheckHIPSourceCompiles)
+ run_cmake(CheckSourceCompilesHIP)
endif()