Skip to content

Commit 0a305bd

Browse files
authored
set default H5CPP_WITH_BOOST to OFf (#672)
1 parent dec0bb4 commit 0a305bd

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ include(DoxygenUtilities)
8080
#=============================================================================
8181
# compiler and library configuration
8282
#=============================================================================
83-
option(H5CPP_WITH_BOOST "enable Boost filesystem support" ON)
83+
option(H5CPP_WITH_BOOST "enable Boost filesystem support" OFF)
8484
if(H5CPP_WITH_BOOST)
8585
find_package(Boost 1.41 COMPONENTS filesystem system REQUIRED)
8686
else()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The minimum requirements for building the library are:
7474
* a C++ compiler, gcc>=4.9 should do well
7575
* the HDF5 C library (>=1.8.13 would do but >=1.10.0 is prefered)
7676
* cmake >= 3.10
77-
* _either_ the boost libraries _or_ a compiler with std::filesystem or std::experimental::filesystem (and specify H5CPP_WITH_BOOST=OFF to CMake)
77+
* _either_ a compiler with std::filesystem or std::experimental::filesystem _or_ the boost libraries (and specify H5CPP_WITH_BOOST=ON to CMake)
7878
* [sphinx](http://www.sphinx-doc.org/en/stable/), [breathe](https://github.com/michaeljones/breathe) (with python) and [doxygen](https://www.doxygen.nl/index.html) for the documentation build
7979
* [catch2](https://github.com/catchorg/catch2) to build the unit tests
8080

doc/source/users_guide/installing.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ which should do the job provided that all dependencies are installed in
7272
standard locations. We strongly recommend to set the particular build
7373
configuration with the :envvar:`CMAKE_BUILD_TYPE` variable.
7474

75-
To attempt to build without Boost, additionally specify `-DH5CPP_WITH_BOOST=OFF`.
76-
This requires a recent compiler, for example gcc >8, with filesystem in
75+
To attempt to build with Boost, additionally specify `-DH5CPP_WITH_BOOST=ON`.
76+
The default `-DH5CPP_WITH_BOOST=OFF`
77+
requires a recent compiler, for example gcc >8, with filesystem in
7778
the std or std::experimental namespace.
7879

7980
On a Linux system the default build system used is

ide/vscode/cmake-variants.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mpi:
2727
H5CPP_WITH_MPI: ON
2828

2929
filesystem:
30-
default: boostfs
30+
default: stdfs
3131
description: implementation of the filesystem namespace
3232
choices:
3333
boostfs:

0 commit comments

Comments
 (0)