[capstone] remove non functional features (#31041)

This commit is contained in:
autoantwort 2023-04-22 06:41:37 +02:00 committed by GitHub
parent fbdc88f9d6
commit e64809a78e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 22 deletions

View File

@ -18,21 +18,15 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"m680x" CAPSTONE_M680X_SUPPORT
"m68k" CAPSTONE_M68K_SUPPORT
"mips" CAPSTONE_MIPS_SUPPORT
"osxkernel" CAPSTONE_OSXKERNEL_SUPPORT
"ppc" CAPSTONE_PPC_SUPPORT
"sparc" CAPSTONE_SPARC_SUPPORT
"sysz" CAPSTONE_SYSZ_SUPPORT
"tms320c64x" CAPSTONE_TMS320C64X_SUPPORT
"x86" CAPSTONE_X86_SUPPORT
"x86-reduce" CAPSTONE_X86_REDUCE
"xcore" CAPSTONE_XCORE_SUPPORT
"diet" CAPSTONE_BUILD_DIET
)
if ("osxkernel" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_OSX)
message(FATAL_ERROR "Feature 'osxkernel' only supported in OSX")
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS

View File

@ -1,7 +1,7 @@
{
"name": "capstone",
"version": "5.0.0-rc2",
"port-version": 1,
"port-version": 2,
"description": "Multi-architecture disassembly framework",
"homepage": "https://github.com/capstone-engine/capstone",
"dependencies": [
@ -36,9 +36,6 @@
"mips": {
"description": "Capstone disassembly support for MIPS"
},
"osxkernel": {
"description": "Support for embedding Capstone into OSX Kernel extensions"
},
"ppc": {
"description": "Capstone disassembly support for PowerPC"
},
@ -54,17 +51,6 @@
"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"
}

View File

@ -1366,7 +1366,7 @@
},
"capstone": {
"baseline": "5.0.0-rc2",
"port-version": 1
"port-version": 2
},
"cargs": {
"baseline": "1.0.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3c9184889dd21d609401fe4ea34fa5320a9443a2",
"version": "5.0.0-rc2",
"port-version": 2
},
{
"git-tree": "f31ba3baba34c74dea464d864cca666c8793b1e7",
"version": "5.0.0-rc2",