mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:28:00 +08:00
[loguru] Add new port (#6342)
This commit is contained in:
parent
ddec7174c1
commit
5f1e14ac13
4
ports/loguru/CONTROL
Normal file
4
ports/loguru/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: loguru
|
||||
Version: v2.0.0
|
||||
Description: A lightweight and flexible C++ logging library
|
||||
Build-Depends:
|
3
ports/loguru/copyright
Normal file
3
ports/loguru/copyright
Normal file
@ -0,0 +1,3 @@
|
||||
This software is in the public domain. Where that dedication is not recognized, you are granted a perpetual, irrevocable license to copy, modify and distribute it as you see fit.
|
||||
|
||||
That being said, I would appreciate credit! If you find Loguru useful, tweet me at @ernerfeldt mail me at emil.ernerfeldt@gmail.com.
|
12
ports/loguru/portfile.cmake
Normal file
12
ports/loguru/portfile.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO emilk/loguru
|
||||
REF v2.0.0
|
||||
SHA512 d6358f843689d10a44dc7bf590305cbfb89727e26d971ca4fe439e5468cdb7bcee2aa858368250e9654fb5ecebf63bca9742451881dae78068fecb18f279d988
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/loguru.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/loguru)
|
||||
file(COPY ${CURRENT_PORT_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/loguru)
|
Loading…
x
Reference in New Issue
Block a user