Recommended Boost file structure?
I've been looking at the structure of Phil Bouchard's prototype block_ptr library and am wondering if the structure of the header
files is optimal/Boost_Standard/wrong.
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html
describes the Boost structure, but looks well out of date to me.
(Can/should anyone still update this to reflect Modular Boost?)
And looking through libraries, there seems some variation.
I'm asking for views on what the best structure should be, (or if it doesn't matter much?)
Some libraries have a structure
modular_boost/libs/algorithm/include/boost/algorithm which contains
algorithm.hpp and string.hpp that one might use directly.
Others like asio contain /asio and just a asio.hpp that includes (all?) other headers.
Others like multiprecision contain just a single folder
modular_boost/libs/algorithm/include/boost/multiprecision
but no other header files, not even forwarding header(s).
So should the structure be that all headers (except forwarding headers - or a single header) are within
modular_boost/libs/some_library/include/boost/some_library/
so the user should include with
#include
AMDG On 03/04/2016 10:04 AM, Paul A. Bristow wrote:
I've been looking at the structure of Phil Bouchard's prototype block_ptr library and am wondering if the structure of the header files is optimal/Boost_Standard/wrong.
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html
describes the Boost structure, but looks well out of date to me.
I assume you're referring to this: boost_1_60_0\ .................The “boost root directory” <snip> boost\ .........................All Boost Header files This is still true for the release packages, which have all the headers moved into boost/. In Christ, Steven Watanabe
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: 04 March 2016 17:54 To: boost@lists.boost.org Subject: Re: [boost] Recommended Boost file structure?
AMDG
I've been looking at the structure of Phil Bouchard's prototype block_ptr library and am wondering if the structure of the
On 03/04/2016 10:04 AM, Paul A. Bristow wrote: header
files is optimal/Boost_Standard/wrong.
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html
describes the Boost structure, but looks well out of date to me.
I assume you're referring to this:
boost_1_60_0\ .................The "boost root directory" <snip> boost\ .........................All Boost Header files
This is still true for the release packages, which have all the headers moved into boost/.
Yes, but surely people need to be warned that there will 'appear' to be two copies in the two locations? If all goes well, they won't notice, but Murphy's Law says they will ;-) Paul --- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
AMDG On 03/04/2016 11:54 AM, Paul A. Bristow wrote:
I assume you're referring to this:
boost_1_60_0\ .................The "boost root directory" <snip> boost\ .........................All Boost Header files
This is still true for the release packages, which have all the headers moved into boost/.
Yes, but surely people need to be warned that there will 'appear' to be two copies in the two locations?
"moved" not "copied." The release archives do not contain libs/xxx/include.
If all goes well, they won't notice, but Murphy's Law says they will ;-)
In Christ, Steven Watanabe
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: 04 March 2016 17:54 To: boost@lists.boost.org Subject: Re: [boost] Recommended Boost file structure?
AMDG
I've been looking at the structure of Phil Bouchard's prototype block_ptr library and am wondering if the structure of the
On 03/04/2016 10:04 AM, Paul A. Bristow wrote: header
files is optimal/Boost_Standard/wrong.
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html
describes the Boost structure, but looks well out of date to me.
I assume you're referring to this:
boost_1_60_0\ .................The "boost root directory" <snip> boost\ .........................All Boost Header files
This is still true for the release packages, which have all the headers moved into boost/.
I stand corrected. Sorry. Paul
participants (2)
-
Paul A. Bristow
-
Steven Watanabe