summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-24 19:59:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-24 19:59:51 (GMT)
commitd395b563ede173721c240df2daad23284f453c4a (patch)
tree84178ad0d725b16b92f84549bd106e05038c90d5 /Source/cmLocalGenerator.h
parent3a8e7599b10806b43179e18c23218fe68a4d2eb5 (diff)
downloadCMake-d395b563ede173721c240df2daad23284f453c4a.zip
CMake-d395b563ede173721c240df2daad23284f453c4a.tar.gz
CMake-d395b563ede173721c240df2daad23284f453c4a.tar.bz2
ENH: Improve internal test handling by creating a test class. Command cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 4012cdf..989cc69 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -59,6 +59,12 @@ public:
*/
virtual void GenerateInstallRules();
+ /**
+ * Generate the test files for tests.
+ */
+ virtual void GenerateTestFiles();
+
+
///! Get the makefile for this generator
cmMakefile *GetMakefile() {
return this->m_Makefile; };
@@ -188,7 +194,7 @@ protected:
void CreateCustomTargetsAndCommands(std::set<cmStdString> const&);
virtual void AddInstallRule(std::ostream& fout, const char* dest, int type,
const char* files, bool optional = false, const char* properties = 0);
-
+
cmMakefile *m_Makefile;
cmGlobalGenerator *m_GlobalGenerator;
// members used for relative path function ConvertToMakefilePath