Debian Codegraph @

packages/seacas/libraries/supes/CMakeLists.txt

raw
1
2 TRIBITS_SUBPACKAGE(Supes)
3
4 INCLUDE(FortranSettings)
5
6 SET(SUPES_VERSION_MAJOR "4")
7 SET(SUPES_VERSION_MINOR "4")
8 SET(SUPES_VERSION_PATCH "0")
9 SET(SUPES_VERSION "${SUPES_VERSION_MAJOR}.${SUPES_VERSION_MINOR}")
10 SET(SUPES_VERSION_FULL "${SUPES_VERSION}.${SUPES_VERSION_PATCH}")
11
12 TRIBITS_INCLUDE_DIRECTORIES(
13 "${CMAKE_CURRENT_SOURCE_DIR}"
14 "${CMAKE_CURRENT_SOURCE_DIR}/mem_mgr"
15 "${CMAKE_CURRENT_SOURCE_DIR}/ext_lib"
16 "${CMAKE_CURRENT_SOURCE_DIR}/fre_fld"
17 )
18
19 SET(SOURCES
20 ext_lib/exmemy.c ext_lib/extime.c ext_lib/ixlchr.c
21 ext_lib/exname.c ext_lib/exupcs.c ext_lib/ixlnum.c
22 ext_lib/excpus.c ext_lib/exparm.c ext_lib/getline_int.c
23 ext_lib/exdate.c ext_lib/exread.c
24 fre_fld/ffistr.f fre_fld/frefld.f fre_fld/getinp.f fre_fld/gsupev.f
25 fre_fld/quoted.f fre_fld/stripb.f mem_mgr/mxexec.f mem_mgr/mxlong.f mem_mgr/mycomp.f mem_mgr/mymemy.f mem_mgr/shftc.f
26 mem_mgr/mdinit.F mem_mgr/mxfind.f mem_mgr/mxlook.f mem_mgr/mydel.f mem_mgr/mynsrt.f mem_mgr/shfti.f
27 mem_mgr/mxcomp.f mem_mgr/mxget.f mem_mgr/mxnsrt.f mem_mgr/myfind.f mem_mgr/myprnt.f mem_mgr/srchc.f
28 mem_mgr/mxdel.f mem_mgr/mxgive.f mem_mgr/mxprnt.f mem_mgr/myget.f mem_mgr/myrsrv.f mem_mgr/srchi.f
29 mem_mgr/mxeror.f mem_mgr/mxlist.f mem_mgr/mxrsrv.f mem_mgr/mylong.f mem_mgr/vtable.f mem_mgr/mxfree.f)
30
31 TRIBITS_ADD_LIBRARY(
32 supes
33 SOURCES ${SOURCES}
34 )
35
36 TRIBITS_ADD_EXECUTABLE(
37 exttest
38 SOURCES exttest.f
39 LINKER_LANGUAGE Fortran
40 )
41
42 TRIBITS_ADD_TEST(
43 exttest
44 NAME exttest
45 NUM_MPI_PROCS 1
46 )
47
48 TRIBITS_SUBPACKAGE_POSTPROCESS()