google/benchmark

Document process for embedding benchmark in external project

Chiusa

#788 aperta il 28 mar 2019

 (3 commenti) (1 reazione) (0 assegnatari)C++ (1539 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (7968 stelle)
Metriche merge PR
 (Merge medio 4g 2h) (19 PR mergiate in 30 g)

Descrizione

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.

Guida contributor