Shu

记录表明我曾经活着

编译NetCDF

2020-03-28


The following packages are required to build netCDF-C using CMake.

If you have libraries installed in a custom directory, you may need to specify the CMAKE_PREFIX_PATH variable to tell cmake where the libraries are installed. For example:

$ cmake [Source Directory] -DCMAKE_PREFIX_PATH=~/

Building

The compiler can be executed directly with ‘make’ or the appropriate command for the configurator which was used.

$ make

Building can also be executed indirectly via cmake:

$ cmake –build [Build Directory]