Closed SSoelvsten closed 2 years ago
Hvilken fil skal jeg bruge her?
I adiar/statistics.cpp har vi implementationen af de statistik relaterede funktioner. I adiar_printstat
funktionen har du et eksempel på, hvordan koden ændres baseret på compiler flagene. Så, jeg tænkte noget i retning af
#ifndef ADIAR_STATS
std::cerr << "<text here....>"
#endif
Similar to
adiar_printstat
we should print tostd::cerr
if one tries to calladiar_stats
while not having theADIAR_STATS
CMake variable set to ON.