boostorg / boostorg/boost

BOOST_AUTO_LINK_TAGGED for --layout=tagged missing

Abierto
#420 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
HTML
Estrellas
8.6k
Forks
1.9k
Merge medio
39 min
PR fusionados (30 d)
2

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.