


To enable a list of basic and advanced options, one would invoke cmake -LA.Ĭonfiguring your build from the command line.
Cmake install guid full#
D"CMAKE\_PREFIX\_PATH=/usr/custom_libs/"Ī full list of basic options can be found by invoking cmake -L. The output of the configuration step is a project file based on the appropriate configurator specified. Installation: If all tests pass, the libraries can be installed in the location specified during configuration.įor users who prefer pre-built binaries, installation packages are available at Installing and Using netCDF-C Libraries in Windows.Testing: Post-build, it is possible to run tests to ensure the functionality of the netCDF-C libraries.Building: Once configuration is complete, the libraries are compiled.
Cmake install guid software#

The following packages are required to build netCDF-C using CMake. In addition to providing new build options for netCDF-C, we will also provide pre-built binary downloads for the shared versions of netCDF for use with Visual Studio. We will also maintain the standard autotools-based build system in parallel. CMake support also provides robust unit and regression testing tools. CMake will allow for building netCDF on a wider range of platforms, include Microsoft Windows with Visual Studio. Starting with netCDF-C 4.3.0, we are happy to announce the inclusion of CMake support.
