mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-29 00:55:45 +00:00
Define CRYB_COVERAGE to 1 when building with coverage analysis.
This commit is contained in:
parent
13bad71153
commit
75daba7501
1 changed files with 4 additions and 2 deletions
|
@ -31,9 +31,11 @@
|
||||||
#define CRYB_COVERAGE_H_INCLUDED
|
#define CRYB_COVERAGE_H_INCLUDED
|
||||||
|
|
||||||
#if _BullseyeCoverage
|
#if _BullseyeCoverage
|
||||||
# define CRYB_DISABLE_COVERAGE _Pragma("BullseyeCoverage save off")
|
# define CRYB_COVERAGE 1
|
||||||
# define CRYB_RESTORE_COVERAGE _Pragma("BullseyeCoverage restore")
|
# define CRYB_DISABLE_COVERAGE _Pragma("BullseyeCoverage save off")
|
||||||
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue