vcpkg/ports/capstone/vcpkg.json
Alberto Garcia Illera 7033f94778
[capstone] Use static runtime if capstone wants to be statically linked (#23122)
* Use static runtime if capstone wants to be statically linked

This makes more sense than using the shared runtime if building a static version

* increase port-version

* Update version database

* select CRT as new feature

* don't use upercase in feature name

* format json

* run x-add-version

* remove extra space

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* run x-add-version

* Modernize the port file.cmake

* update version

* checking feature per OS

* update versioning

* remove check for static CRT on windows so it doesn't conflict with other ports (Triton)

* update versioning

* use VCPKG_CRT_LINKAGE instead of feature for CRT

* update versioning

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-02-22 14:08:20 -08:00

73 lines
1.8 KiB
JSON

{
"name": "capstone",
"version": "4.0.2",
"port-version": 3,
"description": "Multi-architecture disassembly framework",
"homepage": "https://github.com/aquynh/capstone",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake",
"host": true
}
],
"features": {
"arm": {
"description": "Capstone disassembly support for ARM"
},
"arm64": {
"description": "Capstone disassembly support for ARM64"
},
"diet": {
"description": "Build Capstone in diet mode (reduced features for smaller size)"
},
"evm": {
"description": "Capstone disassembly support for EVM"
},
"m680x": {
"description": "Capstone disassembly support for M680X"
},
"m68k": {
"description": "Capstone disassembly support for M68k"
},
"mips": {
"description": "Capstone disassembly support for MIPS"
},
"osxkernel": {
"description": "Support for emedding Capstone into OSX Kernel extensions"
},
"ppc": {
"description": "Capstone disassembly support for PowerPC"
},
"sparc": {
"description": "Capstone disassembly support for SPARC"
},
"sysz": {
"description": "Capstone disassembly support for SysZ"
},
"tms320c64x": {
"description": "Capstone disassembly support for TMS320C64X"
},
"x86": {
"description": "Capstone disassembly support for x86"
},
"x86-reduce": {
"description": "Capstone disassembly support for x86 without support for less used instructions",
"dependencies": [
{
"name": "capstone",
"features": [
"x86"
]
}
]
},
"xcore": {
"description": "Capstone disassembly support for XCore"
}
}
}