C++11: Laid foundation for benchmark tests. We need more of them!

This commit is contained in:
Hans-Christian Ebke
2015-11-19 19:53:36 +01:00
parent 61fe9dabef
commit 3ed7079cb8
8 changed files with 83 additions and 34 deletions

View File

@@ -88,6 +88,12 @@ add_subdirectory (src/OpenMesh/Core)
add_subdirectory (src/OpenMesh/Tools)
add_subdirectory (src/OpenMesh/Apps)
set(OPENMESH_BENCHMARK_DIR CACHE PATH "Source path of benchmark (https://github.com/google/benchmark).")
if (OPENMESH_BENCHMARK_DIR)
add_subdirectory(${OPENMESH_BENCHMARK_DIR} benchmark)
add_subdirectory(src/Benchmark)
endif()
# Do not build unit tests when build as external library
if(${PROJECT_NAME} MATCHES "OpenMesh")
add_subdirectory (src/Unittests)