At the top of this file we have `#define BOOST_FIXED_STRING_USE_BOOST`, which therefore makes all following conditional definitions always use Boost equivalents of standard library types internally.
Well, it *is* the config, so that is where the user can decide on whether the library is boost dependent or not. On Tue, Nov 26, 2019 at 5:30 PM Vinnie Falco via Boost < boost@lists.boost.org> wrote:
As the message states, you have to explicitly specify the binary
On Tue, Nov 26, 2019 at 1:48 PM Mike via Boost
wrote: directory: add_subdirectory (../bench bench ) add_subdirectory (../example example) add_subdirectory (../test test)
Doesn't work:
$ cmake ../tools -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18362. -- Configuring done CMake Error at C:/Users/vinnie/src/boost/libs/json/bench/CMakeLists.txt:33 (add_executable): Cannot find source file:
C:/Users/vinnie/src/boost/libs/json/tools/include/boost/json.hpp
.../json/tools/include/ is the wrong path, it should be ../json/include/. I tried all of these variations:
add_subdirectory (../bench ..) add_subdirectory (../example ..) add_subdirectory (../test ..)
add_subdirectory (../bench ../bench) add_subdirectory (../example ../example) add_subdirectory (../test ../test)
add_subdirectory (../bench .) add_subdirectory (../example .) add_subdirectory (../test .)
Maybe you could submit a pull request which moves the top level CMakeLists.txt into tools/ ?
https://github.com/vinniefalco/json
Regards
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost