BOOST_AUTO_LINK_TAGGED for --layout=tagged missing
- Ngôn ngữ chính
- HTML
- Star
- 8.6k
- Fork
- 1.9k
- Merge trung bình
- 39 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
If I build boost with `--layout=tagged` the flag `BOOST_AUTO_LINK_TAGGED` will not be set.
e.g.: `libboost_chrono-variant-mt-x64-shared.cmake`
```
set_target_properties(Boost::chrono PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "BOOST_CHRONO_DYN_LINK"
)
```
Information from documentation:
```
BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
rather than a mangled-name version.
BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option.
This is essentially the same as the default name-mangled version, but without
the compiler name and version, or the Boost version. Just the build options.
BOOST_AUTO_LINK_SYSTEM: Specifies that we link to libraries built with the --layout=system option.
This is essentially the same as the non-name-mangled version, but with
the prefix to differentiate static and dll builds
```
So currently I have to set `BOOST_AUTO_LINK_TAGGED` in `CXXFLAGS` for each module, which uses boost library.
EDIT: should that be fixed in boostorg / cmake repository?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.