Skip to content

Commit

Permalink
Update Dependencies.md
Browse files Browse the repository at this point in the history
Correct boost version to 1.83.0
  • Loading branch information
lo-simon authored Feb 12, 2024
1 parent 6fc99f1 commit 02094f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documents/Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ If using Conan, this section can be skipped.
- Set ``Boost_USE_STATIC_LIBS`` (BOOL) to ``1`` (true)
- If CMake cannot find it automatically, set hints for [finding Boost](https://cmake.org/cmake/help/latest/module/FindBoost.html), for example:
- *Either* set ``Boost_DIR`` (PATH) to the location of the installed BoostConfig.cmake (since Boost 1.70.0)
- *Or* set ``BOOST_INCLUDEDIR`` (PATH) and ``BOOST_LIBRARYDIR`` (PATH) to the appropriate full paths, e.g. *``<home-dir>``*``/boost_1_80_0``
and *``<home-dir>``*``/boost_1_80_0/x64/lib`` respectively to match the suggested ``b2`` command
- *Or* set ``BOOST_INCLUDEDIR`` (PATH) and ``BOOST_LIBRARYDIR`` (PATH) to the appropriate full paths, e.g. *``<home-dir>``*``/boost_1_83_0``
and *``<home-dir>``*``/boost_1_83_0/x64/lib`` respectively to match the suggested ``b2`` command
- Due to interactions with other dependencies, it may also be necessary to explicitly set ``WERROR`` (BOOL) to ``0`` so that compiler warnings are not treated as errors
- To speed up the build by omitting the C++ REST SDK sample apps and test suite, set ``BUILD_SAMPLES`` and ``BUILD_TESTS`` (BOOL) to ``0`` (false)
3. Use CMake to generate build/project files, and then build *and* install
Expand All @@ -172,8 +172,8 @@ cmake .. ^
-DCPPREST_EXCLUDE_COMPRESSION:BOOL="1" ^
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release" ^
-DBoost_USE_STATIC_LIBS:BOOL="1" ^
-DBOOST_INCLUDEDIR:PATH="<home-dir>/boost_1_80_0" ^
-DBOOST_LIBRARYDIR:PATH="<home-dir>/boost_1_80_0/x64/lib" ^
-DBOOST_INCLUDEDIR:PATH="<home-dir>/boost_1_83_0" ^
-DBOOST_LIBRARYDIR:PATH="<home-dir>/boost_1_83_0/x64/lib" ^
-DWERROR:BOOL="0" ^
-DBUILD_SAMPLES:BOOL="0" ^
-DBUILD_TESTS:BOOL="0"
Expand Down

0 comments on commit 02094f6

Please sign in to comment.