diff --git a/ports/lwlog/portfile.cmake b/ports/lwlog/portfile.cmake new file mode 100644 index 00000000000000..7604e1346331c8 --- /dev/null +++ b/ports/lwlog/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ChristianPanov/lwlog + REF "v${VERSION}" + SHA512 d331b1fb64180370c0c5cdd3b292cc27430fa4bf83d47ad69ad5aba9ee1605657b457d899bc71a779f4ef397f9f4e8c1b91c296deae1fa616de853d52deef8ed + HEAD_REF master +) + +vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(PACKAGE_NAME lwlog_lib CONFIG_PATH lib/cmake) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/lwlog/vcpkg.json b/ports/lwlog/vcpkg.json new file mode 100644 index 00000000000000..bef2c135235933 --- /dev/null +++ b/ports/lwlog/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "lwlog", + "version": "1.3.0", + "description": "Very fast synchronous and asynchronous C++17 logging library", + "homepage": "https://github.com/ChristianPanov/lwlog", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 99aa2f6c86ab25..a69185070dc6c3 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5708,6 +5708,10 @@ "baseline": "1.18.10", "port-version": 1 }, + "lwlog": { + "baseline": "1.3.0", + "port-version": 0 + }, "lz4": { "baseline": "1.10.0", "port-version": 0 diff --git a/versions/l-/lwlog.json b/versions/l-/lwlog.json new file mode 100644 index 00000000000000..88b989395b9bc4 --- /dev/null +++ b/versions/l-/lwlog.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "397eb522ff5cab01e993bde4d0f3b3d3aa86feaf", + "version": "1.3.0", + "port-version": 0 + } + ] +}