CMake/Tests/RunCMake/CheckSourceCompiles
makise-homura 3377141c8f Tests: With lfortran < 1.24 skip cases broken by incorrect filename handling
`lfortran` < 1.24 uses `fccn`, a Fortran-to-C converter that
incorrectly handles long filenames that are more than 128 characters
long; so to check if Fortran can compile something, CMake must be
run in binary directory that has a name of less that 35 characters long.
It is ok for typical runs line `cmake -S . -B build` or `cmake ..`,
but does not work with usual CDash dashboard testing paths.

All this is not a problem for modern LCC >= 1.24.
2024-01-08 15:25:57 -05:00
..
CheckCSourceCompiles.cmake
CheckCXXSourceCompiles.cmake
CheckOBJCSourceCompiles.cmake
CheckOBJCXXSourceCompiles.cmake
CheckSourceCompilesC.cmake
CheckSourceCompilesCUDA.cmake
CheckSourceCompilesCXX.cmake
CheckSourceCompilesFortran.cmake Tests: With lfortran < 1.24 skip cases broken by incorrect filename handling 2024-01-08 15:25:57 -05:00
CheckSourceCompilesHIP.cmake
CheckSourceCompilesISPC.cmake
CheckSourceCompilesOBJC.cmake
CheckSourceCompilesOBJCXX.cmake
CheckSourceCompilesSwift.cmake Tests: Update Swift tests to use CMP0157 NEW behavior 2023-11-17 08:43:21 -05:00
CMakeLists.txt
NonExistentLanguage-result.txt
NonExistentLanguage-stderr.txt
NonExistentLanguage.cmake
NotEnabledLanguage-result.txt
NotEnabledLanguage-stderr.txt
NotEnabledLanguage.cmake
RunCMakeTest.cmake CheckSourceCompiles: Add support for Swift 2022-10-24 12:39:21 -04:00
UnknownArgument-result.txt
UnknownArgument-stderr.txt
UnknownArgument.cmake