boostorg / boostorg/build

configure.builds and check-target-builds always build in debug mode

Open
#448 6 comments 1 reaction 0 assignees View on GitHub
transition
Dominant language
C++
Stars
251
Forks
63
PR merge metrics
No merged PRs in 30d

Description

posted on boost.user mailing list 9 days ago, but no answerer so I try here ...

Hi,

I try to add icu support in boost conan package, but on windows with msvc, the build never use icu.

During icu detection in boost.locale, the has_icu.exe never build because configure.builds try to build in debug mode when I use property "variant=release" in b2 command line. I can see that in config.log written by b2 during build : b2 use icuucd.lib and icuind.lib instead of icuuc.lib and icuin.lib. So icu is not correctly detected, and so never used. If I bypass the has_icu test, boost locale build fine and have icu backend as expected.

This behaviors only fail builds that use different library in release and debug mode, like icu build with msvc.

Is it the correct behaviors ?
- If yes this is a bad news for library with different library name in release and debug mode.
- If no ... houston, we have a problem ... Can you give me some hint to fix this?

Best regards

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.