|
From: Luigi B. <lui...@gm...> - 2022-01-19 13:01:02
|
More precisely: the library in its default configuration only depends on Boost headers, while the test suite needs the binaries. Luigi On Wed, Jan 19, 2022, 13:37 Jonathan Sweemer <sw...@gm...> wrote: > Hi Chirag, > > The first step is to successfully build Boost using a toolchain compatible > with CLion. I have never done this before but the StackOverflow link you > pasted seems to provide reasonable instructions. > > Once you have built Boost, then you can use the BOOST_INCLUDEDIR, > BOOST_LIBRARY_DIR, and/or BOOST_ROOT variables to tell CMake where to find > the Boost installation when configuring QuantLib. See [1] for more details > on these variables. > > Regarding whether a header-only Boost installation is sufficient, > unfortunately no, QuantLib still depends on some pre-compiled Boost > libraries, but this may change in the future. See [2] for the latest list > of Boost library dependencies. > > [1] https://cmake.org/cmake/help/latest/module/FindBoost.html > [2] https://github.com/lballabio/QuantLib/blob/master/CMakeLists.txt#L118 > > > > On Wed, Jan 19, 2022 at 8:16 PM Chirag Desai via QuantLib-users < > qua...@li...> wrote: > >> Hi Quantlib Users >> >> Hope all is well. I am trying to get more involved in the Quantlib >> project with my interest in quantitative finance. >> >> I have been able to get it to work in Windows VS2017 but I am trying to >> make it work in CLion using CMake with no success. >> >> 1) I can't even get Boost to compile in CLion using CMake. I am only >> able to use the header only Boost files in CLion >> >> https://stackoverflow.com/questions/36519453/setup-boost-in-clion >> >> 2) I tried following this blog by Dimitry but I guess I first need to >> make Boost work (or are the header only Boost files sufficient ?). The >> instructions are not very clear. >> >> https://blog.jetbrains.com/clion/2015/12/quantlib-clion/ >> >> May I kindly check if this is something somebody can guide me on please ? >> >> Thank you for your guidance >> Chirag >> >> _______________________________________________ >> QuantLib-users mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-users >> > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |