mirror of https://github.com/microsoft/vcpkg.git
[g3log] Add dynamic-logging feature (#47224)
This commit is contained in:
parent
c14fd46aa4
commit
db2808a4dc
|
|
@ -10,9 +10,14 @@ vcpkg_from_github(
|
|||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" G3_SHARED_LIB)
|
||||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" G3_SHARED_RUNTIME)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
dynamic-logging USE_DYNAMIC_LOGGING_LEVELS
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DG3_SHARED_LIB=${G3_SHARED_LIB} # Options.cmake
|
||||
-DG3_SHARED_RUNTIME=${G3_SHARED_RUNTIME} # Options.cmake
|
||||
-DADD_FATAL_EXAMPLE=OFF
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "g3log",
|
||||
"version": "2.6",
|
||||
"port-version": 1,
|
||||
"description": "Asynchronous logger with Dynamic Sinks",
|
||||
"homepage": "https://github.com/KjellKod/g3log",
|
||||
"license": "Unlicense",
|
||||
|
|
@ -14,5 +15,10 @@
|
|||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"dynamic-logging": {
|
||||
"description": "Enable dynamic logging levels"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3138,7 +3138,7 @@
|
|||
},
|
||||
"g3log": {
|
||||
"baseline": "2.6",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"gainput": {
|
||||
"baseline": "1.0.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3e1548337703da81e267235ed5a4416888be4580",
|
||||
"version": "2.6",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "f20671b45e773a71b84f8c8ae9bb0b8105b3cdce",
|
||||
"version": "2.6",
|
||||
|
|
|
|||
Loading…
Reference in New Issue