mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
20720199c8
2. fix ocuri parameter handling 3. add ncdap_test/testuri.sh to test parameter handling.
10 lines
271 B
CMake
10 lines
271 B
CMake
rm -fr build
|
|
mkdir build
|
|
cd build
|
|
UL=/usr/local
|
|
PPATH="$UL"
|
|
HDF5="-DHDF5_LIB=${UL}/lib/libhdf5.so -DHDF5_HL_LIB=${UL}/lib/libhdf5_hl.so -DHDF5_INCLUDE_DIR=${UL}/include"
|
|
cmake -DCMAKE_INSTALL_PREFIX=${UL} -DCMAKE_PREFIX_PATH="$PPATH" ${HDF5} ..
|
|
cmake --build .
|
|
make test
|