Define CRYB_COVERAGE to 1 when building with coverage analysis.

This commit is contained in:
Dag-Erling Smørgrav 2014-12-20 01:09:58 +00:00 committed by des
parent 13bad71153
commit 75daba7501

View file

@ -31,9 +31,11 @@
#define CRYB_COVERAGE_H_INCLUDED #define CRYB_COVERAGE_H_INCLUDED
#if _BullseyeCoverage #if _BullseyeCoverage
# define CRYB_COVERAGE 1
# define CRYB_DISABLE_COVERAGE _Pragma("BullseyeCoverage save off") # define CRYB_DISABLE_COVERAGE _Pragma("BullseyeCoverage save off")
# define CRYB_RESTORE_COVERAGE _Pragma("BullseyeCoverage restore") # define CRYB_RESTORE_COVERAGE _Pragma("BullseyeCoverage restore")
#else #else
# define CRYB_COVERAGE 0
# define CRYB_DISABLE_COVERAGE # define CRYB_DISABLE_COVERAGE
# define CRYB_RESTORE_COVERAGE # define CRYB_RESTORE_COVERAGE
#endif #endif