OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Functions

 cmake_minimum_required (VERSION 3.12) set(LIBS afrt genutils) find_package(NetCDF COMPONENTS C CXX Fortran REQUIRED) include_directories($
 
 add_executable (afrt_nc4 afrt_nc4.cpp) if(USE_MPI) set(CMAKE_CXX_COMPILER $ENV
 
bin mpic find_package (MPI REQUIRED) include_directories(SYSTEM $
 
 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWITH_MPI") target_link_libraries(afrt_nc4 $
 

Function Documentation

◆ add_executable()

add_executable ( afrt_nc4 afrt_nc4.  cpp)

Definition at line 7 of file CMakeLists.txt.

◆ cmake_minimum_required()

cmake_minimum_required ( VERSION 3.  12)

Definition at line 1 of file CMakeLists.txt.

◆ find_package()

bin mpic find_package ( MPI  REQUIRED)

Definition at line 14 of file CMakeLists.txt.

◆ set()

set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWITH_MPI"  )

Definition at line 16 of file CMakeLists.txt.