mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:11:39 +08:00
[mmloader] Fix supports
(#25232)
* [mmloader] Fix supports * Fix version db * Fix version * version * [mmloader] Remove from CI baseline * unsupported on UWP * version * Revert version db
This commit is contained in:
parent
e78aa84211
commit
3cca353a8a
@ -1,4 +1,5 @@
|
||||
# source
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO tishion/mmLoader
|
||||
@ -7,27 +8,19 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# feature
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
shellcode BUILD_SHELLCODE_GEN
|
||||
)
|
||||
|
||||
# config
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
# pre-clean
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/output")
|
||||
vcpkg_cmake_install(DISABLE_PARALLEL)
|
||||
|
||||
# build and install
|
||||
vcpkg_install_cmake(DISABLE_PARALLEL)
|
||||
|
||||
# remove the debug/include directory
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# collect license files
|
||||
file(INSTALL "${SOURCE_PATH}/License" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,10 +1,17 @@
|
||||
{
|
||||
"name": "mmloader",
|
||||
"version-date": "2021-12-13",
|
||||
"port-version": 1,
|
||||
"version": "1.0.1",
|
||||
"port-version": 2,
|
||||
"description": "A library for loading dll module bypassing windows PE loader from memory (x86/x64)",
|
||||
"homepage": "http://tishion.github.io/mmLoader/",
|
||||
"supports": "(x86 | x64) & windows & static",
|
||||
"license": "MIT",
|
||||
"supports": "(x86 | x64) & windows & !uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"shellcode": {
|
||||
"description": "Generate mmLoader shell code headers"
|
||||
|
@ -656,13 +656,6 @@ microsoft-signalr:x64-windows-static-md=skip
|
||||
microsoft-signalr:x86-windows=skip
|
||||
# https://github.com/mlpack/mlpack/pull/2945
|
||||
mlpack:x64-uwp=fail
|
||||
mmloader:arm64-windows=fail
|
||||
mmloader:arm-uwp=fail
|
||||
mmloader:x64-linux=fail
|
||||
mmloader:x64-osx=fail
|
||||
mmloader:x64-uwp=fail
|
||||
mmloader:x64-windows=fail
|
||||
mmloader:x86-windows=fail
|
||||
# mmx installs many problematic headers, such as `json.h` and `sched.h`
|
||||
mmx:x64-windows=skip
|
||||
mmx:x64-windows-static=skip
|
||||
|
@ -4601,8 +4601,8 @@
|
||||
"port-version": 5
|
||||
},
|
||||
"mmloader": {
|
||||
"baseline": "2021-12-13",
|
||||
"port-version": 1
|
||||
"baseline": "1.0.1",
|
||||
"port-version": 2
|
||||
},
|
||||
"mmx": {
|
||||
"baseline": "2019-09-29",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4b102ccdbd92919d2f3f62fff55b2a51839199ad",
|
||||
"version": "1.0.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "104d16ae01f6ae753fde8406f75a01b9353aa1f2",
|
||||
"version-date": "2021-12-13",
|
||||
|
Loading…
Reference in New Issue
Block a user