From 7bbe2d2374ea33d4bb2d538edee75947a6e996fe Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Thu, 12 Dec 2019 15:20:20 +0100 Subject: [PATCH 1/2] fix a typo for the HL library in cmake file --- src/h5cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h5cpp/CMakeLists.txt b/src/h5cpp/CMakeLists.txt index 260a906565..df147632ff 100644 --- a/src/h5cpp/CMakeLists.txt +++ b/src/h5cpp/CMakeLists.txt @@ -40,7 +40,7 @@ foreach(HDF5_LIBRARY ${HDF5_LIBRARIES}) endforeach() if(HDF5_VERSION VERSION_LESS 1.10.3) - set(H5CPP_PRIVATE_HL_LIBS ${HDF5_HL_LIBRARIES}) + set(H5CPP_HL_PRIVATE_LIBS ${HDF5_HL_LIBRARIES}) foreach(HDF5_LIBRARY ${HDF5_HL_LIBRARIES}) get_filename_component(LIB_NAME ${HDF5_LIBRARY} NAME) list(APPEND H5CPP_INTERFACE_LIBS ${LIB_NAME}) From 5c0e41df4866ee1aa390dd085f029b696b4e9f48 Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Thu, 12 Dec 2019 15:22:40 +0100 Subject: [PATCH 2/2] bump the version --- CMakeLists.txt | 2 +- README.md | 2 +- doc/design/source/conf.py | 4 ++-- doc/source/users_guide/installing.rst | 4 ++-- doc/source/users_guide/using.rst | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 83d040c1bd..87e6a19e64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.0.0) project(h5cpp LANGUAGES CXX C - VERSION 0.3.2 + VERSION 0.3.3 ) #============================================================================= diff --git a/README.md b/README.md index 765a649934..00ace3c145 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ cmake -DCMAKE_INSTALL_PREFIX=/home/user1/some/path .. ``` and accordingly, when building the client program: ```bash -cmake -Dh5cpp_DIR=/home/user1/some/path/lib/cmake/h5cpp-0.3.2 path/to/your/source +cmake -Dh5cpp_DIR=/home/user1/some/path/lib/cmake/h5cpp-0.3.3 path/to/your/source ``` where version number may vary. diff --git a/doc/design/source/conf.py b/doc/design/source/conf.py index 82690bc152..6c8fd4a593 100644 --- a/doc/design/source/conf.py +++ b/doc/design/source/conf.py @@ -61,9 +61,9 @@ # built documents. # # The short X.Y version. -version = u'0.3.2' +version = u'0.3.3' # The full version, including alpha/beta/rc tags. -release = u'0.3.2' +release = u'0.3.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/source/users_guide/installing.rst b/doc/source/users_guide/installing.rst index de949ce3c4..494956a4de 100644 --- a/doc/source/users_guide/installing.rst +++ b/doc/source/users_guide/installing.rst @@ -140,7 +140,7 @@ to update your package list and .. code-block:: bash - $ apt-get install libh5cpp0.3.2 libh5cpp0.3.2-dbg libh5cpp0.3.2-doc libh5cpp0.3.2-dev + $ apt-get install libh5cpp0.3.3 libh5cpp0.3.3-dbg libh5cpp0.3.3-doc libh5cpp0.3.3-dev -to install the library of v0.3.2. Dependencies will be resolved automatically so you can +to install the library of v0.3.3. Dependencies will be resolved automatically so you can start with working right after the installation has finished. diff --git a/doc/source/users_guide/using.rst b/doc/source/users_guide/using.rst index 9de03a5194..8e3fdbb8f0 100644 --- a/doc/source/users_guide/using.rst +++ b/doc/source/users_guide/using.rst @@ -7,7 +7,7 @@ Using *h5cpp* with :program:`cmake` *h5cpp* not only uses *CMake* as a build system but also provides a *CMake* package which makes using the library with *CMake* quite simple. -The *CMake* package is installed below :file:`PREFIX/lib/cmake/h5cpp-0.3.2` +The *CMake* package is installed below :file:`PREFIX/lib/cmake/h5cpp-0.3.3` where :envvar:`PREFIX` expands to the installation prefix used in the inital cmake call of the installation procedure. @@ -41,7 +41,7 @@ the following :file:`CMakeLists.txt` fiel is sufficient cmake_minimum_required(VERSION 3.5.0) project(h5cpp_test LANGUAGES C CXX - VERSION 0.3.2) + VERSION 0.3.3) set(CMAKE_CXX_STANDARD 11) find_package(h5cpp REQUIRED) @@ -56,7 +56,7 @@ You can build the code with h5cpp_test:$ mkdir build h5cpp_test:$ cd build - h5cpp_test:$ cmake -Dh5cpp_DIR=/lib/cmake/h5cpp-0.3.2 ../ + h5cpp_test:$ cmake -Dh5cpp_DIR=/lib/cmake/h5cpp-0.3.3 ../ h5cpp_test:$ make The cmake variable :envvar:`h5cpp_DIR` tells :program:`cmake` where to look