Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ include(DoxygenUtilities)
#=============================================================================
# compiler and library configuration
#=============================================================================
option(H5CPP_WITH_BOOST "enable Boost filesystem support" ON)
option(H5CPP_WITH_BOOST "enable Boost filesystem support" OFF)
if(H5CPP_WITH_BOOST)
find_package(Boost 1.41 COMPONENTS filesystem system REQUIRED)
else()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The minimum requirements for building the library are:
* a C++ compiler, gcc>=4.9 should do well
* the HDF5 C library (>=1.8.13 would do but >=1.10.0 is prefered)
* cmake >= 3.10
* _either_ the boost libraries _or_ a compiler with std::filesystem or std::experimental::filesystem (and specify H5CPP_WITH_BOOST=OFF to CMake)
* _either_ a compiler with std::filesystem or std::experimental::filesystem _or_ the boost libraries (and specify H5CPP_WITH_BOOST=ON to CMake)
* [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
* [catch2](https://github.com/catchorg/catch2) to build the unit tests

Expand Down
5 changes: 3 additions & 2 deletions doc/source/users_guide/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ which should do the job provided that all dependencies are installed in
standard locations. We strongly recommend to set the particular build
configuration with the :envvar:`CMAKE_BUILD_TYPE` variable.

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

On a Linux system the default build system used is
Expand Down
2 changes: 1 addition & 1 deletion ide/vscode/cmake-variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mpi:
H5CPP_WITH_MPI: ON

filesystem:
default: boostfs
default: stdfs
description: implementation of the filesystem namespace
choices:
boostfs:
Expand Down