Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterymath committed Nov 23, 2024
2 parents c5c13c6 + 9f743a8 commit 40ef3ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cmake/modules/SingleMultiSource.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ function(llvm_singlesource)
if(DEFINED Source)
set(sources ${Source})
else()
file(GLOB sources *.c *.cpp *.cc *.f *.F *.f90 *.F90 *.f03 *.F03 *.f08 *.F08)
file(GLOB sources
*.c *.cpp *.cc
*.for *.FOR *.fpp *.FPP *.[fF] *.[fF]90 *.[fF]95 *.[fF]03 *.[fF]08)
endif()
foreach(source ${sources})
basename(name ${source})
Expand All @@ -51,7 +53,9 @@ endfunction()
function(llvm_multisource target)
set(sources ${ARGN})
if(NOT sources)
file(GLOB sources *.c *.cpp *.cc *.f *.F *.f90 *.F90 *.f03 *.F03 *.f08 *.F08)
file(GLOB sources
*.c *.cpp *.cc
*.for *.FOR *.fpp *.FPP *.[fF] *.[fF]90 *.[fF]95 *.[fF]03 *.[fF]08)
endif()

llvm_test_executable_no_test(${target} ${sources})
Expand Down

0 comments on commit 40ef3ce

Please sign in to comment.