benchmark icon indicating copy to clipboard operation
benchmark copied to clipboard

[Question]: What is the purpose of link_main_test?

Open Swat-SomeBug opened this issue 2 years ago • 0 comments

Given that from v1.7.0 onwards, all tests are linking against benchmark_main, what does link_main_test do?

Also could you kindly explain how the link works specifically for link_main_test on msvc, without calling BENCHMARK_MAIN()? What’s happening with the new export.h header?

Swat-SomeBug avatar Jul 25 '22 22:07 Swat-SomeBug