Skip to content

Conversation

@NancyLi1013
Copy link
Contributor

capstone is available as a port in vcpkg, a C++ library manager that simplifies installation for capstone and other project dependencies. Documenting the install process here will help users get started by providing a single set of commands to build capstone , ready to be included in their projects.

We also test whether our library ports build in various configurations (dynamic, static) on various platforms (OSX, Linux, Windows: x86, x64, UWP, ARM) to keep a wide coverage for users.

I'm a maintainer for vcpkg, and here is what the port script looks like. We try to keep the library maintained as close as possible to the original library.

cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
vcpkg install capstone
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This disables support for all architectures supported by capstone. You need to explicitly enable them like this:

vcpkg install capstone[core,x86,ppc]:x64-windows

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, the "core" should not need to be specified, but ON by default, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ceeac and @aquynh
Thanks for your review.
Since this port is special. We can add any one of features listed in CONTROL file to build capstone, which depends on your requirement. As for core, there is no need to add additionally.

@aquynh aquynh merged commit 81df290 into capstone-engine:master Mar 24, 2020
@aquynh
Copy link
Collaborator

aquynh commented Mar 24, 2020

merged, thanks!

aquynh pushed a commit that referenced this pull request Mar 24, 2020
aquynh pushed a commit that referenced this pull request Mar 24, 2020
@riptl riptl mentioned this pull request Jul 22, 2022
6 tasks
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

Successfully merging this pull request may close these issues.

3 participants