early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/pe-parse/arm64-windows-fix.patch
vendored
Executable file
13
externals/vcpkg/ports/pe-parse/arm64-windows-fix.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
find_package(Filesystem) fails on arm64 Windows.
|
||||
We can remove it as it is only used for tests which are not built in vcpkg.
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -15,7 +15,6 @@ endif ()
|
||||
include(cmake/compilation_flags.cmake)
|
||||
# Greater c++17 filesystem compatibility (like with experimental)
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
|
||||
-find_package(Filesystem COMPONENTS Experimental Final REQUIRED)
|
||||
list(APPEND GLOBAL_CXXFLAGS ${DEFAULT_CXX_FLAGS})
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build Shared Libraries" ON)
|
||||
24
externals/vcpkg/ports/pe-parse/portfile.cmake
vendored
Executable file
24
externals/vcpkg/ports/pe-parse/portfile.cmake
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO trailofbits/pe-parse
|
||||
REF v1.3.0
|
||||
SHA512 b723e90821e0ac67b4d6b15e5a46cf13544f21380a4d2add013eedcaa309e1be2cff6789247397c6fb4a938e4a240a835cbe21c8221bd558a4fccf8e93ce1548
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
arm64-windows-fix.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_COMMAND_LINE_TOOLS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/pe-parse")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
17
externals/vcpkg/ports/pe-parse/vcpkg.json
vendored
Executable file
17
externals/vcpkg/ports/pe-parse/vcpkg.json
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "pe-parse",
|
||||
"version": "1.3.0",
|
||||
"description": "pe-parse is a principled, lightweight C/C++ PE parser",
|
||||
"homepage": "https://github.com/trailofbits/pe-parse",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user