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

Installing with VCPKG #238

Open
ArturSalamatin opened this issue Aug 14, 2022 · 4 comments
Open

Installing with VCPKG #238

ArturSalamatin opened this issue Aug 14, 2022 · 4 comments

Comments

@ArturSalamatin
Copy link

Is there any way to install and build the AMGCL library via vcpkg?

@ddemidov
Copy link
Owner

Not that I know of. I never worked with vcpkg, but if you know how to set it up, then I'll gladly accept a pull request.

@ArturSalamatin
Copy link
Author

I have found an article about this
https://devblogs.microsoft.com/cppblog/registries-bring-your-own-libraries-to-vcpkg/?ranMID=46131&ranEAID=a1LgFw09t88&ranSiteID=a1LgFw09t88-5jqkFJXbG_btcd0RojAjEg&epi=a1LgFw09t88-5jqkFJXbG_btcd0RojAjEg&irgwc=1&OCID=AID2200057_aff_7806_1243925&tduid=%28ir__lnw1wd99n9kf6xfqm99hkpgkpf2xvaeupmczkc0a00%29%287806%29%281243925%29%28a1LgFw09t88-5jqkFJXbG_btcd0RojAjEg%29%28%29&irclickid=_lnw1wd99n9kf6xfqm99hkpgkpf2xvaeupmczkc0a00

The first point that I think of is that the library (to the best of my knowledge) must not be header only, so it could be compiled in a static library... In the examples in the article, the projects have their declarations and definitions in separate files, cpp and h.

Can this be done with the amgcl library?

@ddemidov
Copy link
Owner

Found an interesting discussion here: microsoft/vcpkg#995, which contains a link to the list of header-only vcpkg libraries. Maybe you could get some examples/ideas there.

@ArturSalamatin
Copy link
Author

Sorry, missed your reply.
I shall have a look some time later!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants