From 20f55fed2c089d31c0983406c1f5cd061d485204 Mon Sep 17 00:00:00 2001 From: william-dawson Date: Tue, 1 Oct 2024 17:06:19 +0900 Subject: [PATCH] Add a non-module fortran routine to help autotools test linking (#238) * Add a non-module fortran routine to help autotools test linking * lint --- Source/Fortran/CMakeLists.txt | 1 + Source/Fortran/test_ntpoly_link.f90 | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 Source/Fortran/test_ntpoly_link.f90 diff --git a/Source/Fortran/CMakeLists.txt b/Source/Fortran/CMakeLists.txt index 73248817..2e5d6e48 100644 --- a/Source/Fortran/CMakeLists.txt +++ b/Source/Fortran/CMakeLists.txt @@ -44,6 +44,7 @@ set(Fsrc TrigonometrySolversModule.F90 TripletListModule.F90 TripletModule.F90 + test_ntpoly_link.f90 ) ################################################################################ diff --git a/Source/Fortran/test_ntpoly_link.f90 b/Source/Fortran/test_ntpoly_link.f90 new file mode 100644 index 00000000..5e2a93eb --- /dev/null +++ b/Source/Fortran/test_ntpoly_link.f90 @@ -0,0 +1,3 @@ +!> this subroutine is just here for testing linking with autotools. +SUBROUTINE test_ntpoly_link() +END SUBROUTINE test_ntpoly_link