mirror of https://github.com/microsoft/vcpkg.git
[bbalouki-itch] add new port (#48117)
This commit is contained in:
parent
57de26c4c4
commit
31810b5337
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO bbalouki/itchcpp
|
||||
REF "v${VERSION}"
|
||||
SHA512 ce66984be3c70f83486e9b3f46227bff4d5456d73b58e70fe7f7d08c5fa5fe92a7222ee3c2ad81fda80a1c8e9f745f410d5ccc792bb40d52ef67422532355f65
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DITCH_BUILD_TESTS=OFF
|
||||
-DITCH_BUILD_BENCHMARKS=OFF
|
||||
-DITCH_BUILD_EXAMPLES=OFF
|
||||
-DITCH_PROJECT_ENV=PROD
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME "itch"
|
||||
CONFIG_PATH "lib/cmake/itch"
|
||||
|
||||
)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/share"
|
||||
)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
itch provides CMake targets:
|
||||
|
||||
find_package(itch CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE itch::itch)
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "bbalouki-itch",
|
||||
"version": "1.0.0",
|
||||
"maintainers": "Bertin Balouki SIMYELI",
|
||||
"description": "A High-Performance C++ library for parsing the ITCH 5.0 protocol.",
|
||||
"homepage": "https://github.com/bbalouki/itchcpp",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e56f81d89614cec83d8e1368b6a3711b75eccfe6",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -628,6 +628,10 @@
|
|||
"baseline": "1.60",
|
||||
"port-version": 0
|
||||
},
|
||||
"bbalouki-itch": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"bcg729": {
|
||||
"baseline": "1.1.1",
|
||||
"port-version": 4
|
||||
|
|
|
|||
Loading…
Reference in New Issue