mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:59:00 +08:00
[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:
parent
51f0aa0b54
commit
8161f65543
@ -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")
|
||||
|
@ -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."
|
||||
|
@ -2658,7 +2658,7 @@
|
||||
},
|
||||
"flatbuffers": {
|
||||
"baseline": "23.5.26",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"flatbush": {
|
||||
"baseline": "1.2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2f827d9a5f37614af7cdb44c15075dbaac88d740",
|
||||
"version": "23.5.26",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "5146d5516c8570263780a1cdf73df98d70936e07",
|
||||
"version": "23.5.26",
|
||||
|
Loading…
Reference in New Issue
Block a user