summaryrefslogtreecommitdiff
path: root/Source/cmTestGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-16 10:51:30 -0400
committerBrad King <brad.king@kitware.com>2009-03-16 10:51:30 -0400
commit9862f383d09018cd9e14a6054c03b508c0ef3afa (patch)
treeb68b27adc864c2e0cfc5eab806b18b3ee223745c /Source/cmTestGenerator.h
parent606e6ff9cd2d1ab6a242a38e0c3f6df7167fdff8 (diff)
downloadcmake-9862f383d09018cd9e14a6054c03b508c0ef3afa.tar.gz
ENH: Add NAME mode to ADD_TEST command
This creates command mode add_test(NAME ...). This signature is extensible with more keyword arguments later. The main purpose is to enable automatic replacement of target names with built target file locations. A side effect of this feature is support for tests that only run under specific configurations.
Diffstat (limited to 'Source/cmTestGenerator.h')
-rw-r--r--Source/cmTestGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTestGenerator.h b/Source/cmTestGenerator.h
index 021be397ce..6f09b41fb2 100644
--- a/Source/cmTestGenerator.h
+++ b/Source/cmTestGenerator.h
@@ -36,6 +36,10 @@ public:
protected:
virtual void GenerateScriptConfigs(std::ostream& os, Indent const& indent);
virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
+ virtual void GenerateScriptForConfig(std::ostream& os,
+ const char* config,
+ Indent const& indent);
+ void GenerateOldStyle(std::ostream& os, Indent const& indent);
cmTest* Test;
bool TestGenerated;