File: CMakeLists.txt

package info (click to toggle)
metview 5.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 242,296 kB
  • sloc: cpp: 437,117; ansic: 41,433; xml: 19,944; f90: 13,059; sh: 6,562; python: 3,953; yacc: 1,774; lex: 1,121; perl: 701; makefile: 92
file content (102 lines) | stat: -rw-r--r-- 2,436 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
set(libMetview_srcs
      ConfigLoader.cc
      MvService.cc
      MvProtocol.cc
      MvFunction.cc
      MvApplication.cc
      MvRequest.cc
      MvLanguage.cc
      MvIconLanguage.cc
      MvIconParameter.cc
      MvGeoPoints.cc
      MvGeoPointSet.cc
      MvGrid.cc
      MvFieldSet.cc
      MvFilter.cc
      MvFlextra.cc
      MvFlexpart.cc
      MvIconClassCore.cc
      MvSerie.cc
      MvTable.cc
      MvFortran.cc
      MvDate.cc
      MvTimeSerie.cc
      MvLocation.cc
      MvObsSet.cc
      MvObs.cc
      MvObsUtil.cc
      MvPrepBufrPrep.cc
      MvSci.cc
      MvTask.cc
      MvServiceTask.cc
      MvShellTask.cc
      MvVisTool.cc
      LLMatrixToGRIB.cc
      MvMatrix.cc
      MvScanFileType.cc
      MvDebugPrintControl.cc
      Path.cc
      BufrFilterDef.cc
      BufrFilterEngine.cc
      BufrLocationCollector.cc
      BufrMetaData.cc
      Cached.cc
      GribMetaData.cc
      LogHandler.cc
      MtInputEvent.cc
      MvAlmostObsoleteRequest.cc
      MvBinaryReader.cc
      MvBufrEdition.cc
      MvBufrElementTable.cc
      MvEccBufr.cc
      MvElement.cc
      MvException.cc
      MvKeyCondition.cc
      MvKeyProfile.cc
      MvKeyManager.cc
      MvList.cc
      MvMessageMetaData.cc
      MvMiscelaneous.cc
      MvPath.cc
      MvProfileData.cc
      MvRequestUtil.cc
      MvStopWatch.cc
      MvTmpFile.cc
      MvVariant.cc
      MvVersionInfo.cc
      Point.cc
      proj_braz.cc
      Request.cc
      TableReader.cc
      Tokenizer.cc
      UtilitiesC.c
      VectorUtils.c
      MvNetCDF.cc)

if (ENABLE_URL_DOWNLOAD)
    list (APPEND libMetview_srcs MvNetwork.cc)
endif()

list (APPEND libMetview_srcs MvRttov.cc MvScm.cc)


if (odc_FOUND)
    list(APPEND libMetview_srcs MvOdb.cc)
endif()


ecbuild_add_library( TARGET           Metview
  TYPE             SHARED
  VERSION          0.0.0
  SOVERSION        0d
                     SOURCES          ${libMetview_srcs}
                     TEMPLATES        ${common_templates}
                     PRIVATE_INCLUDES ${METVIEW_STANDARD_INCLUDES}
                     DEFINITIONS      ${METVIEW_EXTRA_DEFINITIONS}
                     PUBLIC_LIBS      ${MARSCLIENT_LIBS} MvFTimeUtil ${METVIEW_EXTRA_LIBRARIES} ${METVIEW_ODB_API_LIBRARIES}
                    )

#target_link_libraries(Metview MvMars MvFTimeUtil)  # 'a' depends on 'b' and 'c'


ecbuild_dont_pack(FILES "Demo.cc;DemoFort.cc;Doxyfile;SampleModule.cc;SampleObs.cc;demofort.f")