benchmark
benchmark copied to clipboard
[Question]: What is the purpose of link_main_test?
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?