mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[icecream-cpp] add new port (#44263)
This commit is contained in:
25
ports/icecream-cpp/portfile.cmake
Normal file
25
ports/icecream-cpp/portfile.cmake
Normal file
@@ -0,0 +1,25 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO renatoGarcia/icecream-cpp
|
||||
REF "v${VERSION}"
|
||||
SHA512 57410045b5dce11da3bba423347a0b7e861a1ce7eaae4317b08e366ff79530985fc300d12ef5ce9388bc44574cc03fd0b3c2a9b80a3949f41620778b18fd9ace
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/cmake")
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
||||
else()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
18
ports/icecream-cpp/vcpkg.json
Normal file
18
ports/icecream-cpp/vcpkg.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "icecream-cpp",
|
||||
"version": "1.0.0",
|
||||
"description": "A little (single header) library to help with the print debugging in C++11 and forward.",
|
||||
"homepage": "https://github.com/renatoGarcia/icecream-cpp",
|
||||
"license": "MIT",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3648,6 +3648,10 @@
|
||||
"baseline": "2.32.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"icecream-cpp": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"iceoryx": {
|
||||
"baseline": "2.0.6",
|
||||
"port-version": 1
|
||||
|
||||
9
versions/i-/icecream-cpp.json
Normal file
9
versions/i-/icecream-cpp.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f45a86c34d4fa023eb0be088e187676628843860",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user