google/benchmark

Document process for embedding benchmark in external project

已关闭

#788 创建于 2019年3月28日

 (3 条评论) (1 个反应) (0 位负责人)C++ (1,539 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (7,968 个星标)
PR 合并指标
 (平均合并 4天 2小时) (30 天内合并 19 个 PR)

描述

There are a number of Stack Overflow, mailing lists, and IRC enquiries about embedding Benchmark in other projects. Using cmake this should be trivial, but it seems on Windows in particular there are some confusing elements.

Specifically the docs should mention the use of BENCHMARK_DOWNLOAD_DEPENDENCIES, static vs dynamic library generation, vcpkg/installation vs building from head.

贡献者指南