Macro
SEQAN_ENABLE_CHECKPOINTS
Indicates whether checkpoints are enabled.
SEQAN_ENABLE_CHECKPOINTS
Remarks
When enabled (set to 1), checkpoints are enabled. This means the SEQAN_CHECKPOINT macros are expanded to actual code and not to nothing.
By default, this is set to SEQAN_ENABLE_TESTING.
Checkpoints can come at large increases of running time in your tests. Disable them when your test run too slow.
If you want to change this value, you have to define this value before including any SeqAn header.
Examples
Disable checkpoints in a program.
// Disable SeqAn checkpoints in this program.
#define SEQAN_ENABLE_CHECKPOINTS 0
 
// Any SeqAn headers or headers including SeqAn headers have to come AFTER the
// definition of SEQAN_ENABLE_CHECKPOINT above.
#include <seqan/base.h>
 
int main(int argc, char const ** argv)
{
    // Any call to SeqAn functions will NOT log any checkpoints.
    return 0;
}
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:37