mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:09:07 +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_TESTS=OFF
|
||||||
-DFLATBUFFERS_BUILD_GRPCTEST=OFF
|
-DFLATBUFFERS_BUILD_GRPCTEST=OFF
|
||||||
${options}
|
${options}
|
||||||
|
OPTIONS_DEBUG
|
||||||
|
-DFLATBUFFERS_BUILD_FLATC=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
@ -40,8 +42,8 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
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}/debug/share")
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||||
|
|
||||||
# Handle copyright
|
|
||||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "flatbuffers",
|
"name": "flatbuffers",
|
||||||
"version": "23.5.26",
|
"version": "23.5.26",
|
||||||
|
"port-version": 1,
|
||||||
"description": [
|
"description": [
|
||||||
"Memory Efficient Serialization Library",
|
"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."
|
"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": {
|
"flatbuffers": {
|
||||||
"baseline": "23.5.26",
|
"baseline": "23.5.26",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"flatbush": {
|
"flatbush": {
|
||||||
"baseline": "1.2.0",
|
"baseline": "1.2.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "2f827d9a5f37614af7cdb44c15075dbaac88d740",
|
||||||
|
"version": "23.5.26",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "5146d5516c8570263780a1cdf73df98d70936e07",
|
"git-tree": "5146d5516c8570263780a1cdf73df98d70936e07",
|
||||||
"version": "23.5.26",
|
"version": "23.5.26",
|
||||||
|
Loading…
Reference in New Issue
Block a user