NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] CMake integration with NetCDF

On 10/2/12 9:04 PM, Orion Poplawski wrote:
On 10/02/2012 10:16 AM, Ward Fisher wrote:
The CMake-integrated source code is not yet part of an official release,
but it may be
checked out from our public subversion repository:

svn checkout http://svn.unidata.ucar.edu/repos/netcdf/trunk netcdf

CMake 2.8.8+ is required. CMake may be downloaded from
http://www.cmake.org.  Instructions
for building NetCDF-C with CMake are described in the
'COMPILE_CMAKE.txt' file found in
the root NetCDF-C directory, or at

http://www.unidata.ucar.edu/software/netcdf/CompileCMake.html.


Looks like some issues with not using -fPIC on x86_64:

This has been fixed on x86_64 bit linux systems, thanks for pointing it out!
Additionally, shared libraries are now properly built by default, and the
BUILD_SHARED_LIBS option should be visible when building using a
CMake GUI front-end.

-Ward



  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: