Added Google benchmarks (and gtests) (#6920)

* Added Google benchmarks (and gtests)

* Default building benchmarks to OFF as it requires c++11

* Separate benchmark CMakeLists.txt to its own file

* Move output directory to target just flatbenchmark
This commit is contained in:
Derek Bailey
2021-11-15 13:41:22 -08:00
committed by GitHub
parent 927175ea20
commit 0989fc5e59
9 changed files with 676 additions and 0 deletions

4
.gitignore vendored
View File

@@ -46,6 +46,8 @@ project.properties
proguard-project.txt
linklint_results
Makefile
flatbenchmark
flatbenchmark.exe
flatc
flatc.exe
flathash
@@ -143,3 +145,5 @@ flatbuffers.pc
**/FlatBuffers.Test.Swift.xcodeproj
**/html/**
**/latex/**
# https://cmake.org/cmake/help/latest/module/FetchContent.html#variable:FETCHCONTENT_BASE_DIR
_deps/