Futile attempts with cmake + fortran

Former-commit-id: da23f12faf79117152e28ef47185968dfddd5594
This commit is contained in:
Marek Nečada 2019-03-20 09:28:47 +00:00
parent 94259e766b
commit e6e7485ebb
2 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
include(CMakeAddFortranSubdirectory)
project (QPMS) project (QPMS)
macro(use_c99) macro(use_c99)
@ -13,5 +14,9 @@ endmacro(use_c99)
set (QPMS_VERSION_MAJOR 0) set (QPMS_VERSION_MAJOR 0)
#set (QPMS_VERSION_MINOR 3) #set (QPMS_VERSION_MINOR 3)
cmake_add_fortran_subdirectory (amos
PROJECT amos
LIBRARIES amos
NO_EXTERNAL_INSTALL)
add_subdirectory (qpms) add_subdirectory (qpms)

8
amos/CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
enable_language (Fortran)
add_library(amos
dgamln.f zabs.f zasyi.f zbinu.f zdiv.f zmlri.f zshch.f zunhj.f zunk1.f
d1mach.f zacai.f zbesh.f zbknu.f zexp.f zmlt.f zsqrt.f zunik.f zunk2.f
i1mach.f zacon.f zbesj.f zbuni.f zkscl.f zrati.f zs1s2.f zuni1.f zuoik.f
xerror.f zairy.f zbesy.f zbunk.f zlog.f zseri.f zuchk.f zuni2.f zwrsk.f
)