mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 10:28:59 +08:00
disable debug log (#23586)
This commit is contained in:
parent
76049547cf
commit
8522c65ea6
@ -28,7 +28,7 @@ vcpkg_cmake_configure(
|
|||||||
OPTIONS_DEBUG
|
OPTIONS_DEBUG
|
||||||
-DENABLE_SHAREDPTR_DEBUG=ON
|
-DENABLE_SHAREDPTR_DEBUG=ON
|
||||||
-DENABLE_DEVEL=ON
|
-DENABLE_DEVEL=ON
|
||||||
-DENABLE_REFCNT_DEBUG=ON
|
-DENABLE_REFCNT_DEBUG=OFF
|
||||||
-DENABLE_SHAREDPTR_DEBUG=ON
|
-DENABLE_SHAREDPTR_DEBUG=ON
|
||||||
-DWITHOUT_OPTIMIZATION=ON
|
-DWITHOUT_OPTIMIZATION=ON
|
||||||
OPTIONS_RELEASE
|
OPTIONS_RELEASE
|
||||||
@ -50,21 +50,21 @@ vcpkg_cmake_config_fixup(
|
|||||||
|
|
||||||
if("lz4" IN_LIST FEATURES)
|
if("lz4" IN_LIST FEATURES)
|
||||||
vcpkg_replace_string(
|
vcpkg_replace_string(
|
||||||
${CURRENT_PACKAGES_DIR}/share/rdkafka/RdKafkaConfig.cmake
|
"${CURRENT_PACKAGES_DIR}/share/rdkafka/RdKafkaConfig.cmake"
|
||||||
"find_dependency(LZ4)"
|
"find_dependency(LZ4)"
|
||||||
"include(\"\${CMAKE_CURRENT_LIST_DIR}/FindLZ4.cmake\")\n find_dependency(LZ4)"
|
"include(\"\${CMAKE_CURRENT_LIST_DIR}/FindLZ4.cmake\")\n find_dependency(LZ4)"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(REMOVE_RECURSE
|
file(REMOVE_RECURSE
|
||||||
${CURRENT_PACKAGES_DIR}/debug/include
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||||
${CURRENT_PACKAGES_DIR}/debug/share
|
"${CURRENT_PACKAGES_DIR}/debug/share"
|
||||||
)
|
)
|
||||||
|
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||||
foreach(hdr rdkafka.h rdkafkacpp.h)
|
foreach(hdr rdkafka.h rdkafkacpp.h)
|
||||||
vcpkg_replace_string(
|
vcpkg_replace_string(
|
||||||
${CURRENT_PACKAGES_DIR}/include/librdkafka/${hdr}
|
"${CURRENT_PACKAGES_DIR}/include/librdkafka/${hdr}"
|
||||||
"#ifdef LIBRDKAFKA_STATICLIB"
|
"#ifdef LIBRDKAFKA_STATICLIB"
|
||||||
"#if 1 // #ifdef LIBRDKAFKA_STATICLIB"
|
"#if 1 // #ifdef LIBRDKAFKA_STATICLIB"
|
||||||
)
|
)
|
||||||
@ -72,9 +72,9 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Handle copyright
|
# Handle copyright
|
||||||
configure_file(${SOURCE_PATH}/LICENSES.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
configure_file("${SOURCE_PATH}/LICENSES.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
||||||
|
|
||||||
# Install usage
|
# Install usage
|
||||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)
|
||||||
|
|
||||||
vcpkg_fixup_pkgconfig()
|
vcpkg_fixup_pkgconfig()
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "librdkafka",
|
"name": "librdkafka",
|
||||||
"version": "1.8.2",
|
"version": "1.8.2",
|
||||||
|
"port-version": 1,
|
||||||
"description": "The Apache Kafka C/C++ library",
|
"description": "The Apache Kafka C/C++ library",
|
||||||
"homepage": "https://github.com/edenhill/librdkafka",
|
"homepage": "https://github.com/edenhill/librdkafka",
|
||||||
|
"license": null,
|
||||||
"supports": "!uwp",
|
"supports": "!uwp",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
{
|
{
|
||||||
|
@ -3902,7 +3902,7 @@
|
|||||||
},
|
},
|
||||||
"librdkafka": {
|
"librdkafka": {
|
||||||
"baseline": "1.8.2",
|
"baseline": "1.8.2",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"libressl": {
|
"libressl": {
|
||||||
"baseline": "3.4.2",
|
"baseline": "3.4.2",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "2f7a6da2edf664e544914466d1cc8994d1ea475a",
|
||||||
|
"version": "1.8.2",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "dc5076b17ce1f54f6e61560036325ca9f24cda64",
|
"git-tree": "dc5076b17ce1f54f6e61560036325ca9f24cda64",
|
||||||
"version": "1.8.2",
|
"version": "1.8.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user