Opened 12 years ago
Closed 12 years ago
#4560 closed Bugs (fixed)
bjam install does not install boost/asio/impl/src.cpp as a header
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | asio src.cpp installation | Cc: |
Description
The 1.44 release page says about asio:
Added optional separate compilation. To enable, add #include <boost/asio/impl/src.cpp> to one source file in a program, then build the program with BOOST_ASIO_SEPARATE_COMPILATION defined in the project/compiler settings. Alternatively, BOOST_ASIO_DYN_LINK may be defined to build a separately-compiled Asio as part of a shared library.
The file is present in the right place when you untar the source distribution, but when you build and install using bjam, the boost/asio/impl/src.cpp is not installed in the right place.
Tested on Mac OS X 10.6.3 with gcc
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The glob in Jamroot would need to include .cpp files. Actually it would better match current Boost conventions if the file were src.hpp or src.ipp. It would be even better to build a compiled library as part of the normal build.