OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
/gfs-oceanweb/web/ocssw/ocssw_src/src/l2gen/CMakeLists.txt File Reference

Functions

 cmake_minimum_required (VERSION 3.12) set(VERSION_MAJOR 9) set(VERSION_MINOR 6) set(VERSION_PATCH 0) include(GetOcsswVersion) set(ATREM_C_CODE numerical.c get_atrem_corl1v3.c rdatreminfo.c) set(ATREM_F_CODE) set(LIBS l2 l1 nav) find_package(Levmar REQUIRED) include_directories($
 
 list (APPEND LIBS ${Levmar_LIBRARIES}) find_package(LAPACK REQUIRED) include_directories($
 
 list (APPEND LIBS ${LAPACK_LIBRARIES}) find_package(PugiXML REQUIRED) include_directories($
 
 list (APPEND LIBS ${PUGIXML_LIBRARIES}) find_package(Fann REQUIRED) include_directories($
 
 list (APPEND LIBS ${Fann_LIBRARIES}) find_package(NetCDF REQUIRED COMPONENTS CXX F77) include_directories($
 
 list (APPEND LIBS ${NETCDF_LIBRARIES}) find_package(PNG REQUIRED) include_directories($
 
 if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") find_package(X11 REQUIRED) include_directories($
 
 list (APPEND LIBS ${X11_LIBRARIES}) endif($
 
MATCHES Darwin list (APPEND LIBS timeutils) list(APPEND LIBS h5io) list(APPEND LIBS filetype) list(APPEND LIBS bilio) set(L2GEN_COMMON_FILES filter.c viirs_pxcvt.c setflags_l2.c lenstr.f) set(L2GEN_PRODUCT_FILES prodgen.c prodlist.c get_l2prod_index.c get_chl.c get_es.c get_habs.c get_Kd.c get_ndvi.c get_smoke.c get_depth_classification.c get_poc.c get_par.c get_toa_refl.c get_tricho.c get_npp.c get_avw.c get_Cphyt.c photic_depth.c cdom_morel.c calc_par.c cdom_mannino.c par_utils.c ipar.c fluorescence.c get_rhos.c calcite.c amoeba.c aph.c gsm.c giop.c mgiop.c carder.c las_iop.c pml.c get_pml.c pml_iop_calculate.c pml_iop_config.c pml_iop_tables.c qaa.c get_qaa.c flags_iop.c niwa_iop.c get_niwa_iop.c sst.c sst_dsdi.c mumm.c get_bsi.c swim.c get_pft_hirata.c get_pft_uitz.c get_psd_ksm.c get_nitrate.c get_cmp.c get_bpar.c) set(L2GEN_ANCILLARY_FILES gas_trans.c seawater.c seawater_get.c water_spectra.c setanc.c acq_sfc_albedo.c b128_msk_get.c b128_wd_bit.c b128_box_num.c read_mask.c get_dem_height.c get_nc_height.c get_height.c ice_mask.c get_ice_frac.c sstref.c sssref.c elev.c anc_acq.c met_cvt.c ncio.c get_mld.cpp get_zno3.c smi_climatology.c) add_executable(l2gen main_l2gen.c msl12_input.c getl1rec.c loadl1.c read_pixel_anc_file.cpp cpl1rec.c target_io.c bioOptBandShift.c l2_generic.c alloc_l2.c alloc_target.c alloc_vcal.c convl12.c convl21.c atmocor1.c atmocor1_land.c whitecaps.c rayleigh.c polcor_hawkeye.cpp polcor.c water_vapor.c airmass.c aerosol.c atmocor2.c glint.c get_rhown_nir.c nlw_outband.c brdf.c bin_climatology.c aer_io.c alloc_aer.c vcal.c dtran_brdf.f turbid.c init_l2.c convert_band.c fuzzy_func_v3.c gammln.c gcf.c gser.c nrutil.c sprsax.c sprsin.c covariance_inversion.c lubksb.c ludcmp.c owt.c get_owmc.c lonlat2pixline.cpp virtual_constellation.c bioOptBandShift.c read_l3bin.cpp $
 

Function Documentation

◆ cmake_minimum_required()

cmake_minimum_required ( VERSION 3.  12)

Definition at line 1 of file CMakeLists.txt.

◆ if()

if (   ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

Definition at line 48 of file CMakeLists.txt.

◆ list() [1/7]

list ( APPEND LIBS ${Fann_LIBRARIES}  )

Definition at line 38 of file CMakeLists.txt.

◆ list() [2/7]

list ( APPEND LIBS ${LAPACK_LIBRARIES}  )

Definition at line 30 of file CMakeLists.txt.

◆ list() [3/7]

list ( APPEND LIBS ${Levmar_LIBRARIES}  )

Definition at line 26 of file CMakeLists.txt.

◆ list() [4/7]

list ( APPEND LIBS ${NETCDF_LIBRARIES}  )

Definition at line 42 of file CMakeLists.txt.

◆ list() [5/7]

list ( APPEND LIBS ${PUGIXML_LIBRARIES}  )

Definition at line 34 of file CMakeLists.txt.

◆ list() [6/7]

list ( APPEND LIBS ${X11_LIBRARIES}  )

Definition at line 51 of file CMakeLists.txt.

◆ list() [7/7]

MATCHES Darwin list ( APPEND LIBS  timeutils)

Definition at line 54 of file CMakeLists.txt.