[flatbuffers] Only build tool in release mode (#35333)

* [flatbuffers] Only build tools in release mode

* version

* Remove headers for PCH

* version
This commit is contained in:
Thomas1664 2023-11-28 08:02:41 +01:00 committed by GitHub
parent 51f0aa0b54
commit 8161f65543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -25,6 +25,8 @@ vcpkg_cmake_configure(
-DFLATBUFFERS_BUILD_TESTS=OFF
-DFLATBUFFERS_BUILD_GRPCTEST=OFF
${options}
OPTIONS_DEBUG
-DFLATBUFFERS_BUILD_FLATC=OFF
)
vcpkg_cmake_install()
@ -40,8 +42,8 @@ else()
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/flatbuffers/pch")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,7 @@
{
"name": "flatbuffers",
"version": "23.5.26",
"port-version": 1,
"description": [
"Memory Efficient Serialization Library",
"FlatBuffers is an efficient cross platform serialization library for games and other memory constrained apps. It allows you to directly access serialized data without unpacking/parsing it first, while still having great forwards/backwards compatibility."

View File

@ -2658,7 +2658,7 @@
},
"flatbuffers": {
"baseline": "23.5.26",
"port-version": 0
"port-version": 1
},
"flatbush": {
"baseline": "1.2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2f827d9a5f37614af7cdb44c15075dbaac88d740",
"version": "23.5.26",
"port-version": 1
},
{
"git-tree": "5146d5516c8570263780a1cdf73df98d70936e07",
"version": "23.5.26",