aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/quill
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/quill')
-rw-r--r--vcpkg/ports/quill/portfile.cmake23
-rw-r--r--vcpkg/ports/quill/vcpkg.json17
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/quill/portfile.cmake b/vcpkg/ports/quill/portfile.cmake
new file mode 100644
index 0000000..f5b6cc8
--- /dev/null
+++ b/vcpkg/ports/quill/portfile.cmake
@@ -0,0 +1,23 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO odygrd/quill
+ REF "v${VERSION}"
+ SHA512 0cddc98f6c3d9e2c550e79611a4a0b97bcf406ea18d3fc068fd95f8d1ef81d9faaaa3277f482fa6265e6571414e22ee8a41ad847839578b43b717096a36a5e1f
+ HEAD_REF master
+)
+
+if(VCPKG_TARGET_IS_ANDROID)
+ set(ADDITIONAL_OPTIONS -DQUILL_NO_THREAD_NAME_SUPPORT=ON)
+endif()
+
+vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}" OPTIONS ${ADDITIONAL_OPTIONS})
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/quill)
+
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/quill/vcpkg.json b/vcpkg/ports/quill/vcpkg.json
new file mode 100644
index 0000000..9b17727
--- /dev/null
+++ b/vcpkg/ports/quill/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "quill",
+ "version": "10.2.0",
+ "description": "Asynchronous Low Latency C++ Logging Library",
+ "homepage": "https://github.com/odygrd/quill/",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}