Fix benchmarks not setuping LOG correctly

This commit is contained in:
2026-09-11 23:54:15 +02:00
parent 71dfb57179
commit 5703e25773
14 changed files with 131 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
/*********************************************************************
* \file main.cpp
*
* \author Romain BOULLARD
* \date September 2026
*********************************************************************/
#include <Utils/Log/LogMacros.hpp>
#include <Utils/TargetMacros.h>
#include <benchmark/benchmark.h>
int main(int argc, char** argv)
{
BIGFOOT_NOT_OPTIMIZED_ONLY(::Bigfoot::Singleton<::Bigfoot::Log>::Lifetime m_lifetime);
::benchmark::Initialize(&argc, argv);
if (::benchmark::ReportUnrecognizedArguments(argc, argv))
{
return 1;
}
::benchmark::RunSpecifiedBenchmarks();
::benchmark::Shutdown();
return 0;
}