summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-28 16:31:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-28 16:31:18 (GMT)
commite539cf9f7c39b2c25b5566925e0c43a39f2ee868 (patch)
tree94903e4002cfa3d55d7d3efd62f72739692e96d9 /Source/cmCreateTestSourceList.h
parentdf31c576dcfdbb7b7b9e2ba26498bae5af9f4e93 (diff)
downloadCMake-e539cf9f7c39b2c25b5566925e0c43a39f2ee868.zip
CMake-e539cf9f7c39b2c25b5566925e0c43a39f2ee868.tar.gz
CMake-e539cf9f7c39b2c25b5566925e0c43a39f2ee868.tar.bz2
ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28
Diffstat (limited to 'Source/cmCreateTestSourceList.h')
-rw-r--r--Source/cmCreateTestSourceList.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.h b/Source/cmCreateTestSourceList.h
index 66d34a4..850c2bc 100644
--- a/Source/cmCreateTestSourceList.h
+++ b/Source/cmCreateTestSourceList.h
@@ -84,7 +84,11 @@ public:
"next argument is included into the generated file. If FUNCTION is "
"specified, then the next argument is taken as a function name that "
"is passed a pointer to ac and av. This can be used to add extra "
- "command line processing to each test. ";
+ "command line processing to each test. The cmake variable "
+ "CMAKE_TESTDRIVER_BEFORE_TESTMAIN can be set to have code that will be "
+ "placed directly before calling the test main function. "
+ "CMAKE_TESTDRIVER_AFTER_TESTMAIN can be set to have code that will be "
+ "placed directly after the call to the test main function.";
}
cmTypeMacro(cmCreateTestSourceList, cmCommand);