summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h
index 052dced..aa6a4cd 100644
--- a/Source/CTest/cmCTestCoverageHandler.h
+++ b/Source/CTest/cmCTestCoverageHandler.h
@@ -22,6 +22,8 @@
#include "cmCTestGenericHandler.h"
#include "cmListFileCache.h"
+#include <cmsys/RegularExpression.hxx>
+
class cmGeneratedFileStream;
/** \class cmCTestCoverageHandler
@@ -42,6 +44,11 @@ public:
virtual void Initialize();
+ /**
+ * This method is called when reading CTest custom file
+ */
+ void PopulateCustomVectors(cmMakefile *mf);
+
private:
bool ShouldIDoCoverage(const char* file, const char* srcDir,
const char* binDir);
@@ -90,6 +97,9 @@ private:
bool m_Show;
};
+ std::vector<cmStdString> m_CustomCoverageExclude;
+ std::vector<cmsys::RegularExpression> m_CustomCoverageExcludeRegex;
+
typedef std::map<std::string, cmCTestCoverage> tm_CoverageMap;
};