diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/lwlog | |
Diffstat (limited to 'vcpkg/ports/lwlog')
| -rw-r--r-- | vcpkg/ports/lwlog/portfile.cmake | 19 | ||||
| -rw-r--r-- | vcpkg/ports/lwlog/vcpkg.json | 18 |
2 files changed, 37 insertions, 0 deletions
diff --git a/vcpkg/ports/lwlog/portfile.cmake b/vcpkg/ports/lwlog/portfile.cmake new file mode 100644 index 0000000..aaf349c --- /dev/null +++ b/vcpkg/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 46615bb9680d847614955c5c371fc1b7f0e2741e240469fb220a62eb64b4caad5161fc741e4ebe3af4c37bb7db413702203c3fa5e4365a5b69aee24401873de4
+ 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/vcpkg/ports/lwlog/vcpkg.json b/vcpkg/ports/lwlog/vcpkg.json new file mode 100644 index 0000000..1f26049 --- /dev/null +++ b/vcpkg/ports/lwlog/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "lwlog", + "version": "1.4.0", + "description": "Very fast synchronous and asynchronous C++17 logging library", + "homepage": "https://github.com/ChristianPanov/lwlog", + "license": "MIT", + "supports": "!android & !(arm & windows)", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |