From 82e280a81cadb123eda049dcf189f76a456deabc Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Mon, 13 Apr 2015 01:42:05 -0600 Subject: [PATCH] Initisl fleshing out of cmake file in cxx4 directory. --- CTestCustom.cmake | 8 ++++++++ cxx4/CMakeLists.txt | 7 +++++++ libnetcdf-cxx.settings | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 CTestCustom.cmake create mode 100644 libnetcdf-cxx.settings diff --git a/CTestCustom.cmake b/CTestCustom.cmake new file mode 100644 index 0000000..4909748 --- /dev/null +++ b/CTestCustom.cmake @@ -0,0 +1,8 @@ +## This file is used to customize CTest. +## See: +## +## http://public.kitware.com/Wiki/CTest:Using_CTEST_and_CDASH_without_CMAKE +## +## for more information. + +set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "500") diff --git a/cxx4/CMakeLists.txt b/cxx4/CMakeLists.txt index e69de29..12540bc 100644 --- a/cxx4/CMakeLists.txt +++ b/cxx4/CMakeLists.txt @@ -0,0 +1,7 @@ +## This is a CMake file, part of Unidata's netcdf-cxx package. + +SET(CXX_HEADERS ncAtt.h ncCheck.h ncDim.h ncException.h ncGroup.h ncOpaqueType.h ncVar.h ncVlenType.h ncCompoundType.h ncEnumType.h ncFile.h ncGroupAtt.h ncType.h ncVarAtt.h ncByte.h ncChar.h ncShort.h ncInt.h ncFloat.h ncDouble.h ncUbyte.h ncUshort.h ncUint.h ncInt64.h ncUint64.h ncString.h) + +SET(CXX_SOURCES ncAtt.cpp ncCheck.cpp ncCompoundType.cpp ncDim.ccp ncEnumType.cpp ncException.cpp ncFile.cpp ncGroup.cpp ncGroupAtt.cpp ncOpaqueType.cpp ncType.cpp ncVar.cpp ncVarAtt.cpp ncVlenType.cpp ncByte.cpp ncChar.cpp ncShort.cpp ncInt.cpp ncFloat.cpp ncDouble.cpp ncUbyte.cpp ncUshort.cpp ncUint.cpp ncInt64.cpp ncString.cpp) + +ADD_LIBRARY(ncxx OBJECT ${CXX_HEADERS} ${CXX_SOURCES}) \ No newline at end of file diff --git a/libnetcdf-cxx.settings b/libnetcdf-cxx.settings new file mode 100644 index 0000000..5a25b90 --- /dev/null +++ b/libnetcdf-cxx.settings @@ -0,0 +1,36 @@ +# NetCDF C Configuration Summary +============================== + +# General +------- +NetCDF Version: 4.3.3.1 +Configured On: Mon Apr 13 01:07:45 MDT 2015 +Host System: i686-pc-linux-gnu +Build Directory: /home/vagrant/netcdf-c +Install Prefix: /home/vagrant/local-nc + +# Compiling Options +----------------- +C Compiler: /usr/bin/gcc +CFLAGS: -g -O2 +CPPFLAGS: +LDFLAGS: +AM_CFLAGS: +AM_CPPFLAGS: +AM_LDFLAGS: +Shared Library: yes +Static Library: yes +Extra libraries: -lhdf5_hl -lhdf5 -ldl -lm -lz -lcurl + +# Features +-------- +NetCDF-2 API: yes +NetCDF-4 API: yes +HDF4 Support: no +HDF5 Support: yes +PNetCDF Support: no +Parallel Support: no +DAP Support: yes +Diskless Support: yes +MMap Support: no +JNA Support: no