зеркало из https://github.com/microsoft/vcpkg.git
Add cppslippi port (#30315)
This commit is contained in:
Родитель
84df5613f7
Коммит
b185afd43b
|
@ -0,0 +1,21 @@
|
|||
vcpkg_from_sourceforge(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO cppslippi
|
||||
FILENAME "CppSlippi-${VERSION}.zip"
|
||||
SHA512 5057758ed7da1f8d3bbdcd0eb783e93aa07d501a5333c48707f588bd3370551fce65a22074da9cbe4aa69fa32fa6c826a2aa039911cff7be5b8548842d135ece
|
||||
NO_REMOVE_ONE_LEVEL
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=False
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/CppSlippi)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(COPY "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
@ -0,0 +1,4 @@
|
|||
The package cppslippi provides CMake targets:
|
||||
|
||||
find_package(CppSlippi CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE CppSlippi::CppSlippi)
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "cppslippi",
|
||||
"version": "1.0.3.14",
|
||||
"description": "C++ Slippi replay file parser.",
|
||||
"homepage": "https://sourceforge.net/projects/cppslippi/",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"nlohmann-json",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -165,6 +165,9 @@ cppmicroservices:arm-uwp=fail
|
|||
cppmicroservices:x64-uwp=fail
|
||||
cpp-netlib:arm-uwp=fail
|
||||
cpp-netlib:x64-uwp=fail
|
||||
# Requires full C++20 support, currently absent from CI for these triplets.
|
||||
cppslippi:x64-linux=fail
|
||||
cppslippi:x64-osx=fail
|
||||
cppcoro:x64-linux=fail
|
||||
cppcoro:arm-uwp=fail
|
||||
cppcoro:x64-uwp=fail
|
||||
|
|
|
@ -1780,6 +1780,10 @@
|
|||
"baseline": "2.10.18",
|
||||
"port-version": 2
|
||||
},
|
||||
"cppslippi": {
|
||||
"baseline": "1.0.3.14",
|
||||
"port-version": 0
|
||||
},
|
||||
"cpptoml": {
|
||||
"baseline": "v0.1.1",
|
||||
"port-version": 2
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3cb6381580bcf82551009114b87021b0b1bc9885",
|
||||
"version": "1.0.3.14",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче