Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost dlls #11

Closed
dyollb opened this issue Feb 21, 2022 · 4 comments
Closed

Boost dlls #11

dyollb opened this issue Feb 21, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dyollb
Copy link

dyollb commented Feb 21, 2022

i was really pleased to find your repo. It makes installing boost for a cross-platform software really trivial.
the only thing I miss is a version of boost for windows (2019) with DLLs.

any plans to add that flavor, or provide a build with both static and shared libs?

@MarkusJx
Copy link
Owner

I'll look into that, but this may take a while, so please be patient :).

@MarkusJx MarkusJx self-assigned this Feb 22, 2022
@MarkusJx MarkusJx added enhancement New feature or request help wanted Extra attention is needed labels Feb 22, 2022
@dyollb
Copy link
Author

dyollb commented Feb 22, 2022

thanks. meanwhile I switched to using egor-tensin/build-boost@v1, which allows me to specify static vs shared.

@MarkusJx MarkusJx removed the help wanted Extra attention is needed label Mar 9, 2022
@MarkusJx
Copy link
Owner

MarkusJx commented Mar 9, 2022

I've added shared libraries to the prebuilt binaries for windows, so you could try it out using the latest commit hash:

- name: Install boost
  uses: MarkusJx/install-boost@91f257c54ccc0ca4c5159edd1574f85945421973
  id: install-boost
  with:
    boost_version: 1.78.0.beta1
    toolset: msvc
    link: shared
    platform_version: 2019

This (currently) only works with boost version 1.78.0.beta1, but I could add more versions, if you need them. Also,
you can only select between static and shared libraries on windows, as the build runs out of memory when trying to build both at the same time. If you don't specify the link option, static libraries will be picked by default. If you need both static and shared libraries, you may just want to run the action twice, once specifying static link and the other time specifying shared link (make sure to adapt the output directories, though).

Please let me know if that works for you and if you have any further suggestions, just tell me :).

@dyollb
Copy link
Author

dyollb commented Mar 9, 2022

Great, thanks

@dyollb dyollb closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants