conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
945 stars 1.72k forks source link

[question] Directory for DLL is not the same as for LIB in Boost recipe #24688

Open Alexolut opened 1 month ago

Alexolut commented 1 month ago

I found the old thread https://github.com/bincrafters/community/issues/84 with request to make different result directories in Boost recipe for .dll and .lib files. That request wasn't satisfied.

Despite that, currently the recipe used for Boost 1.85 results in different directories for .dll (bin dir) and for .lib (lib dir).

Is there an option in recipe to specify the same output dir (e.g. lib dir) for all .lib and .dll files as the result of conan install boost/1.85.0@ -o shared=True --build=missing command?

uilianries commented 1 month ago

@Alexolut We avoid changing the project layout directly in the recipe to avoid breaking users that are expecting the same behavior as when building/installing from the upstream. The folder layout for Boost was not change recently, which means, in case the layout changed in 1.85.0, is result of b2 or Boost itself.

In case you want a custom layout, you could try deploy and change the target folders: https://docs.conan.io/2/examples/extensions/deployers/sources/custom_deployer_sources.html#deploy