mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
[spdlog] Support build shared library (#16089)
* [spdlog] Support build shared library * update version * update protifile * update version
This commit is contained in:
parent
66ffe4d7e1
commit
8a95605a7b
@ -1,6 +1,6 @@
|
|||||||
Source: spdlog
|
Source: spdlog
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Port-Version: 1
|
Port-Version: 2
|
||||||
Homepage: https://github.com/gabime/spdlog
|
Homepage: https://github.com/gabime/spdlog
|
||||||
Description: Very fast, header only, C++ logging library
|
Description: Very fast, header only, C++ logging library
|
||||||
Build-Depends: fmt
|
Build-Depends: fmt
|
||||||
|
@ -11,6 +11,8 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|||||||
benchmark SPDLOG_BUILD_BENCH
|
benchmark SPDLOG_BUILD_BENCH
|
||||||
)
|
)
|
||||||
|
|
||||||
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" SPDLOG_BUILD_SHARED)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
@ -18,6 +20,7 @@ vcpkg_configure_cmake(
|
|||||||
${FEATURE_OPTIONS}
|
${FEATURE_OPTIONS}
|
||||||
-DSPDLOG_FMT_EXTERNAL=ON
|
-DSPDLOG_FMT_EXTERNAL=ON
|
||||||
-DSPDLOG_INSTALL=ON
|
-DSPDLOG_INSTALL=ON
|
||||||
|
-DSPDLOG_BUILD_SHARED=${SPDLOG_BUILD_SHARED}
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
@ -5510,7 +5510,7 @@
|
|||||||
},
|
},
|
||||||
"spdlog": {
|
"spdlog": {
|
||||||
"baseline": "1.8.0",
|
"baseline": "1.8.0",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"spectra": {
|
"spectra": {
|
||||||
"baseline": "0.9.0",
|
"baseline": "0.9.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "83277d69ee0f37839d9f06c9fb658a3dd457e3eb",
|
||||||
|
"version-string": "1.8.0",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "51a19e55194fc03004bf1584612eb50cce1b4ec2",
|
"git-tree": "51a19e55194fc03004bf1584612eb50cce1b4ec2",
|
||||||
"version-string": "1.8.0",
|
"version-string": "1.8.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user