File tree Expand file tree Collapse file tree 3 files changed +55
-0
lines changed Expand file tree Collapse file tree 3 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ vcpkg_from_github(
2+ OUT_SOURCE_PATH SOURCE_PATH
3+ REPO lifting-bits/remill
4+ REF 3de75e999299c6b7a071febfd1e74271c7004adc
5+ SHA512 d2d9aa1762ac2c866b2788c842afabf25ce91bb6bc92870b74362fb0e698a49f8949625026e185d4b7d161b2eee051e4f7ed19a6e023139239829d6266f7a0aa
6+ HEAD_REF vcpkg-manifest
7+ )
8+
9+ vcpkg_configure_cmake(
10+ SOURCE_PATH "${SOURCE_PATH} "
11+ PREFER_NINJA
12+ )
13+
14+ vcpkg_install_cmake()
15+ vcpkg_cmake_config_fixup()
16+
17+ file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
18+
19+ file (
20+ INSTALL "${SOURCE_PATH} /LICENSE"
21+ DESTINATION "${CURRENT_PACKAGES_DIR} /share/${PORT} "
22+ RENAME copyright
23+ )
24+
25+ if (EXISTS "${CMAKE_CURRENT_LIST_DIR} /${lower_package} _usage" )
26+ file (INSTALL "${CMAKE_CURRENT_LIST_DIR} /${lower_package} _usage" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${lower_package} " RENAME usage)
27+ endif ()
Original file line number Diff line number Diff line change 1+ The package remill provides CMake targets:
2+
3+ find_package(remill CONFIG REQUIRED)
4+ target_link_libraries(main PRIVATE remill)
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " remill" ,
3+ "version" : " 5.0.2" ,
4+ "port-version" : 1 ,
5+ "description" : " A static binary translator." ,
6+ "homepage" : " https://github.com/lifting-bits/remill" ,
7+ "license" : " Apache-2.0" ,
8+ "dependencies" : [
9+ {
10+ "name" : " vcpkg-cmake-config" ,
11+ "host" : true
12+ },
13+ " glog" ,
14+ " gflags" ,
15+ " xed" ,
16+ {
17+ "name" : " llvm-14" ,
18+ "default-features" : false ,
19+ "features" : [
20+ " cxx-common-targets"
21+ ]
22+ }
23+ ]
24+ }
You can’t perform that action at this time.
0 commit comments