[bdwgc] Don't build docs (#24025)

* [bdwgc] Don't build docs

* version
This commit is contained in:
Thomas1664 2022-04-09 00:32:50 +02:00 committed by GitHub
parent 65c66cd748
commit c2978f8baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 10 deletions

View File

@ -6,23 +6,22 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS
-Denable_cplusplus=ON
-Denable_docs=OFF
-DCFLAGS_EXTRA=-I${CURRENT_INSTALLED_DIR}/include # for libatomic_ops
OPTIONS_DEBUG
-Dinstall_headers=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/bdwgc)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bdwgc)
vcpkg_copy_pdbs()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/README.QUICK" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_fixup_pkgconfig()
file(INSTALL "${SOURCE_PATH}/README.QUICK" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,9 +1,18 @@
{
"name": "bdwgc",
"version": "8.2.0",
"port-version": 2,
"port-version": 3,
"description": "The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (libgc, bdwgc, boehm-gc)",
"homepage": "http://www.hboehm.info/gc/",
"dependencies": [
"libatomic-ops"
"libatomic-ops",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1cf3b7a458af2eba78e5af9674e8f6d28b53e254",
"version": "8.2.0",
"port-version": 3
},
{
"git-tree": "b7ec5e3585f7f7b71988cb7379c181a1fa9461cd",
"version": "8.2.0",

View File

@ -410,7 +410,7 @@
},
"bdwgc": {
"baseline": "8.2.0",
"port-version": 2
"port-version": 3
},
"beast": {
"baseline": "0",